EASy68K  
It is currently Sat Dec 16, 2017 1:09 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Aug 14, 2011 9:10 am 
Offline

Joined: Sat Aug 13, 2011 5:38 am
Posts: 1
Location: Stratford, ON
It would be nice if there was a bank-switched memory area

In a project I'm working on, I have bank-switched a 256 byte page of memory in the range
$010000-$0100FF
so that it references one of 256 pages from the address range
$010000-$01FFFF
This is controlled by an I/O port

eg. when the page number set in the I/O port is $2
$010200 to $0102FF appear in the memory space $010000 to $0100FF
eg. when the page number set in the I/O port is $5
$010500 to $0105FF appear in the memory space $010000 to $0100FF


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 14, 2011 11:27 am 
Offline

Joined: Mon Jul 26, 2010 11:43 pm
Posts: 198
Location: Aurora, IL
This seems like an awfully specific need, have you looked at the source code? You should probably look at UTILS.C in the Sim68K directory, and emulate your paging hardware model in there.

Consider also other 68K emulators, that specifically abstract memory accesses. IDE68k for one supports DLLs for such things, as well as supporting C code and 68020/6888x parts. Look also perhaps at some of the MAME/AMIGA 68K engines.


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

All times are UTC


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

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