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