collapseos/tests/z80/test_sdc.fs

11 lines
193 B
Forth
Raw Normal View History

212 LOAD ( z80a )
2020-07-05 15:01:59 -04:00
: SPI_DATA 4 ;
2020-09-18 22:20:54 -04:00
: SPI_CTL 5 ;
: SDC_DEVID 1 ;
2020-07-05 15:01:59 -04:00
596 LOAD ( spi )
2020-09-18 22:20:54 -04:00
423 436 LOADR ( sdc )
2020-04-24 20:46:01 -04:00
0x0000 0x00 _crc16 0x0000 #eq
0x0000 0x01 _crc16 0x1021 #eq
0x5678 0x34 _crc16 0x34e4 #eq