]> git.sesse.net Git - pistorm/blob - mac68k.cfg
Add write-through cached RAM for Mac experiments
[pistorm] / mac68k.cfg
1 # CPU type is by default 68EC020, try 68000 or 68010 if EC020 doesn't work with the ROM.
2 # (CPU support on classic Macs seem to be severely limited by the system ROM used, and later ROMs are needed for any 32-bit CPU.)
3 cpu 68EC020
4
5 # Map any size ROM to a the (max) 512KB KB system ROM default address with OVL enabled.
6 # (From what I could tell, the ROM was mirrored across this entire 512KB space regardless of physical capacity.)
7 map type=rom address=0x400000 size=512K file=system.rom ovl=0 id=sysrom
8
9 # Map X KB/MB of RAM starting at $0. The type of this RAM map is "wtcram", which is short for Write Through Cache RAM.
10 # It appears that the Mac Classic sound/video chips can't write to RAM, only read from it, so this should be sufficient
11 # unless there's something I've missed. Only uncomment one of these lines at any time, depending on how much physical RAM is installed.
12 #map type=wtcram address=0x0 size=128K id=sysram
13 #map type=wtcram address=0x0 size=256K id=sysram
14 #map type=wtcram address=0x0 size=512K id=sysram
15 #map type=wtcram address=0x0 size=1M id=sysram
16 #map type=wtcram address=0x0 size=2M id=sysram
17 #map type=wtcram address=0x0 size=2560K id=sysram
18 #map type=wtcram address=0x0 size=4M id=sysram
19
20 # Number of instructions to run every main loop.
21 loopcycles 300
22 # Set the platform to Mac68k to enable all the registers and stuff.
23 platform mac68k
24
25 #setvar iscsi
26 # ... Just kidding!
27 #setvar iscsi0 system.hdf
28 #setvar iscsi1 simcity2000.hdf
29
30 # No keyboard/mouse forwarding is available for Mac68k, and uncommenting any of these lines won't do anything.
31 # Forward keyboard events to host system, defaults to off unless toggle key is pressed, toggled off using F12.
32 # Syntax: keyboard [grab key] [grab|nograb] [autoconnect|noautoconnect]
33 #   "grab" steals the keyboard from the Pi so Amiga/etc. input is not sent to the Pi
34 #   (also helps prevent sending any ctrl-alt-del to the Amiga from resetting the Pi)
35 #
36 #   "autoconnect" connects the keyboard to the Amiga/etc. on startup
37 #keyboard k nograb noautoconnect
38 # Select a specific filename for the keyboard event source.
39 # This is typically /dev/input/event1 or event0, but it may be event3 with for instance a wireless keyboard.
40 # Use ls /dev/input/event* to check which event files are available and try until you find the one that works.
41 #kbfile /dev/input/event1
42 # Forward mouse events to host system, defaults to off unless toggle key is pressed on the Pi.
43 # Syntax is mouse [device] [toggle key] [autoconnect|noautoconnect]
44 # (see "keyboard" above for autoconnect description)
45 #mouse /dev/input/mice m noautoconnect