It is currently Fri Dec 15, 2017 6:43 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Oct 15, 2006 3:10 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19348
Location: NE Indiana, USA (NTSC)
Are there any NES emulators for Windows that allow a running NES program to communicate with a native program running on the same machine, such as through a pipe or socket or even just mapping the SRAM file as shared memory?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 15, 2006 4:03 pm 
Offline

Joined: Wed Mar 09, 2005 9:08 am
Posts: 348
None that I know of, but it sure could be useful for game development if you have complex algorithms that'd you like to prototype in a high-level language before porting them to 6502 machine code.

I suppose that functionality could be implemented in any decent open-source emulator if someone is willing to volunteer a few late nights for this cause... :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 15, 2006 4:12 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3488
Location: Indianapolis
Maybe if the emulator wrote the SAV file to disk on every write? Then both programs could reload the file whenever it was updated by the other. I'm not sure exactly how that part would be done. Disk access shouldn't be a problem, since I believe it'd be in the cache (I could be wrong though).

It'd be kinda neat too if the controller port I/O could be rerouted to a virtual COM port, it'd be compatible with the hardware I've built so you could run the same thing on a real NES. :) It's kinda crappy for receiving bytes on the NES that way though (can't just get one randomly at any time, have to poll for it).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 15, 2006 6:07 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19348
Location: NE Indiana, USA (NTSC)
Bananmos wrote:
None that I know of, but it sure could be useful for game development if you have complex algorithms that'd you like to prototype in a high-level language before porting them to 6502 machine code.

That, and music/graphics/level editors that use the emulator to display the results.

As for the NES-side interface, would it be hard to put a 16550 UART into a mapper, with the IRQ line hooked up properly?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 11 guests


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
You cannot post attachments in this forum

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