Login  •  Register


The time is now: Mon May 20, 2013 7:33 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 10 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sat Feb 13, 2010 6:20 pm 
Offline
Master Emulator
User avatar

Joined: Tue Aug 14, 2007 4:32 pm
Posts: 383
Location: People's Republic of China
Image
Visual C++ 1.1 is released for Windows NT 3.1 in late 1993. This dinosaur recognized Windows 95 as Windows 3.x+Win32s, however the compiler and linker (not sure about the debugger) worked under Win95.
I've built the new development source of Mini vMac in that ancient Win32 IDE.
Problems:
1. shlobj.h and all SH* APIs are not available.
2. A LOT of Win32 constant macros are not available.
3. No OLE2 and COM headers so EnableShellLinks must be 0.
4. The third argument of waveOutOpen is required to be LPWAVEFORMAT instead of LPWAVEFORMATEX, I cannot figure out how to make that working so I have to disable sound.
5. No __int64 support for building Mini vMac II, and porting all FPU code to use largeint.h is still too difficult for me.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Feb 15, 2010 12:06 am 
Offline
Master Emulator
User avatar

Joined: Tue Aug 14, 2007 4:32 pm
Posts: 383
Location: People's Republic of China
And it runs under Windows NT 3.5!
Image


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Feb 15, 2010 4:22 am 
Offline
Master Emulator
User avatar

Joined: Tue Aug 14, 2007 4:32 pm
Posts: 383
Location: People's Republic of China
when I changed that WAVEFORMATEX into a PCMWAVEFORMAT
the sound worked!


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Feb 15, 2010 10:07 am 
Offline
Inquisitive Elf

Joined: Wed Apr 29, 2009 8:08 pm
Posts: 31
Location: Northwestern British Columbia
Would your build also run under Windows 3.1?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Feb 15, 2010 4:22 pm 
Offline
Master Emulator
User avatar

Joined: Tue Aug 14, 2007 4:32 pm
Posts: 383
Location: People's Republic of China
Windozed wrote:
Would your build also run under Windows 3.1?

I'm using Win32 version of VC1.1 so the generated executable will NOT run under Win3.1.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Fri Feb 19, 2010 7:01 pm 
Offline
Inquisitive Elf

Joined: Mon Feb 16, 2009 1:06 am
Posts: 38
Actually, given that Windows 95 is seen by the compiler as being Windows 3.1+Win32s, the finished bianry probably WOULD work on a copy of Windows 3.1 so long as the Win32s libraries were installed.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Fri Feb 19, 2010 11:11 pm 
Offline
Inquisitive Elf

Joined: Wed Apr 29, 2009 8:08 pm
Posts: 31
Location: Northwestern British Columbia
Yes, that's what I thought, too. Might be something fun to try.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Feb 20, 2010 1:30 am 
Offline
Master Emulator
User avatar

Joined: Tue Aug 14, 2007 4:32 pm
Posts: 383
Location: People's Republic of China
madcrow wrote:
Actually, given that Windows 95 is seen by the compiler as being Windows 3.1+Win32s, the finished bianry probably WOULD work on a copy of Windows 3.1 so long as the Win32s libraries were installed.


I had tested that on Win32s, it cannot even properly display the "ROM not found" message! seems Win32s doesn't have proper DIB support.


Top
 Profile  
Post a reply  
 Post subject: Wow!
PostPosted: Sat Feb 20, 2010 8:03 pm 
Offline
Granny Smith
User avatar

Joined: Wed Nov 11, 2009 10:05 pm
Posts: 145
Location: Canada
It would be pretty awesome to be able to port this to Windows 3.x! Maybe as an on-the-side project or something? Hmm? I'd love to fool around with an emulator within an emulator (namely VirtualBox).


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Wed Feb 24, 2010 2:56 am 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
I'm going to move this over to the Mini vMac folder...


Top
 Profile  
Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 10 posts ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group