Skip to content

Commit eba0e5d

Browse files
committed
update README.md
1 parent 0c21887 commit eba0e5d

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

emulator/README.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,32 @@
33
An emulator and disassembler for the CASIO calculator series using the nX-U8/100 core ported to windows.
44
With debuggers.
55

6-
To build it, install tdm-gcc and run build32.bat or build64.bat (depending on your machine's architecture).
6+
building: use msys2 mingw64 env
77

8-
The dlls needed by the program (SDL2.dll, SDL2_image.dll) are in the `dlls` directory.
8+
## Options
99

10-
## Syntax
11-
12-
`casioemu <key1>=<value1> <key2>=<value2> ...`
10+
#### mandatory
1311

1412
`model=<directory>` model directory, which should contain interface.png, model.lua, rom.bin(you can find it elsewhere) and _disas.txt(use disas-cpp on rom.bin to obtain this file)
1513

16-
these arguments are optional:
14+
#### optional:
15+
16+
`script=<lua script path>` the lua script that runs on startup
17+
18+
`exit_on_console_shutdown` shutdown the entire emulator when console reads EOF
19+
20+
`history=<history file path>` the file that stores input history
21+
22+
`width=<xxx>`, `height=<xxx>` the width of height of the calculator window
23+
24+
`paused` pause the emulator after startup
1725

18-
`script=<xxx.lua>` the supplied lua script will run on startup
26+
`pause_on_mem_error` pause the emulator when there's memory error
1927

20-
`exit_on_console_shutdown=true/false` pretty self-evident, default to false
28+
`ram=<ram iamge path>` the file that stores ram iamge
2129

22-
`history=<history file path>` the file that stores your input history
30+
`preserve_ram` save the ram into the ram image file after exit
2331

24-
`width=<xxx>`, `height=<xxx>` the width of height of the emulator window
32+
`clean_ram` do not load the ram image on startup
2533

26-
`paused` if supplied, the emulator will pause on startup
34+
`strict_memory` treat writes to the rom as memory errors

0 commit comments

Comments
 (0)