Update readme and audit/build script

This commit is contained in:
Zellyn Hunter 2017-01-24 12:06:20 -06:00
parent 0f8d0b1790
commit f291ff20e2
2 changed files with 56 additions and 20 deletions

View File

@ -1,23 +1,37 @@
# Apple II Audit # Apple II Audit
This repository contains routines to audit Apple II computers (II, II+, This repository contains routines to audit Apple II computers (II,
IIe, IIc), providing information about hardware, ROM versions, RAM II+, IIe, IIc), providing information about hardware, ROM versions,
configuration, and behavior. RAM configuration, and behavior.
Eventually, it should comprise an emulator test suite, enabling Eventually, it should comprise a complete emulator test suite,
emulator writers to systematically identify and eliminate perceptible enabling emulator writers to systematically identify and eliminate
differences from real hardware. If a difference visible to code can be software-testable differences from real hardware. If a difference
found, a test should be added to this suite. visible to code can be found, a test should be added to this suite.
# Error messages
Error messages can be viewed at
[zellyn.com/a2audit/a2audit/v0](http://zellyn.com/a2audit/v0/) or
[on github](https://github.com/zellyn/a2audit/blob/master/v0/index.md).
## Status ## Status
I'm just getting started, currently working on: ### Done
- experimenting with toolchains for automation - [x] toolchain for automation ([diskii](github.com/zellyn/diskii))
- preliminary floating-bus vsync examples - [x] sha1sum assembly code (currently not used yet because it's slow)
- sha1sum assembly code - [x] language card tests
- [x] main/auxiliary memory softswitch behavior tests
### TODO
- [ ] floating-bus tests
## Raison d'être
This test suite is a step on the way to implementing Apple IIe This test suite is a step on the way to implementing Apple IIe
(enhanced) support in (enhanced) support in
[OpenEmulator](http://openemulatorproject.github.io/): I may alternate [OpenEmulator](http://openemulatorproject.github.io/): I may alternate
adding tests here and features there. adding tests here and features there.

View File

@ -23,14 +23,36 @@ grep -h '+prerra\? .*;;' *.asm | awk -F' ;; ' '{print $2}' | sort | sed 's|\(E..
# Also run mame? (set ROMPATH to your local variant) # Also run mame? (set ROMPATH to your local variant)
[[ -z "${ROMPATH-}" ]] && ROMPATH=~/mame/roms/ [[ -z "${ROMPATH-}" ]] && ROMPATH=~/mame/roms/
[[ "${1-}" == '2ee' ]] && mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
[[ "${1-}" == '2e' ]] && mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo case "${1-none}" in
[[ "${1-}" == '2p' ]] && mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo "2ee")
[[ "${1-}" == '2' ]] && mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo
[[ "${1-}" == '2ee-d' ]] && mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo -debug ;;
[[ "${1-}" == '2e-d' ]] && mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo -debug "2e")
[[ "${1-}" == '2p-d' ]] && mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo -debug mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo
[[ "${1-}" == '2-d' ]] && mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo -debug ;;
"2p")
mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo
;;
"2")
mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo
;;
"2ee-d")
mame -rompath $ROMPATH apple2ee -flop1 ./audit.dsk -skip_gameinfo -debug
;;
"2e-d")
mame -rompath $ROMPATH apple2e -flop1 ./audit.dsk -skip_gameinfo -debug
;;
"2p-d")
mame -rompath $ROMPATH apple2p -flop1 ./audit.dsk -skip_gameinfo -debug
;;
"2-d")
mame -rompath $ROMPATH apple2 -flop1 ./audit.dsk -skip_gameinfo -debug
;;
"none")
;;
*)
echo Options: 2ee, 2e, 2p, 2, 2ee-d, 2e-d, 2p-d, 2-d
esac
true # Signal success (since we had a bunch of conditionals that can return false status). true # Signal success (since we had a bunch of conditionals that can return false status).