Here's the ChangeLog:
- New option -trap-trace-n N turns on trace mode for N instruction
- Fix trap address range check
- Windows: try to use consoles more intelligently
- Mac OS X+: fail gracefully when system audio channels > 2 [Steve Clamage]
- Option -no-cart disables cartridge for first running machine
- Support loading Motorola S19 records [Ken Willmott]
- Fix command-line loading of HEX and S19
- Initial iMMUnity support [by Jim Brain]
- New option for dragon/coco1/2: -machine-opt immunity
- Update CoCo3 keyboard IRQ state more often [craig]
- 74LS785 SAM support
- New option for dragon/coco1/2: -machine-opt sam=74ls783|74ls785|samx8
Code: Select all
$ xroar -trap write=0xff22 -trap-trace-n 1
[...]
bb5b| a702 STA 2,X cc=58 a=f8 b=34 dp=00 x=ff20 y=b39b u=0000 s=0000
bb63| 6f02 CLR 2,X cc=54 a=f8 b=34 dp=00 x=ff20 y=b39b u=0000 s=0000
a958| b7ff22 STA $ff22 cc=a1 a=06 b=51 dp=00 x=ffc8 y=dec1 u=b4b3 s=7f2b
[...]
I guess I didn't mention it in the ChangeLog, but the implication of the 74LS785 support is you can:
Code: Select all
$ xroar -m coco -ram 16 -ram-org 16kx4 -machine-opt sam=74ls785 -bas bas13
iMMUnity is a new MMU/RAM expansion created by Jim Brain (that's been called CoCoMEM Jr. until now), and he contributed the code. Like the SAMx8, you can shortcut it by using -ram 2048, but you can actually specify amusing configurations that should be possible in real life:
Code: Select all
$ xroar -m dragon64 -ram 0 -machine-opt sam=samx8 -machine-opt immunity
[...]
[part:dragon64] Dragon Data | Dragon 64
[samx8:ram] 1 bank * 512K = 512K SRAM
[immunity:ram] 1 bank * 2048K = 2048K extended RAM
[dragon64:ram] 0 banks * 0K = 0K motherboard RAM
[...]
Sorry Mike, no aggregate per-instruction cycle counting yet.
..ciaran