EASy68K
http://www.easy68k.com/EASy68Kforum/

Bank switched memory area (Tabled)
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=3&t=1040
Page 1 of 1

Author:  robfinch [ Sun Aug 14, 2011 9:10 am ]
Post subject:  Bank switched memory area (Tabled)

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

Author:  clive [ Sun Aug 14, 2011 11:27 am ]
Post subject: 

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/