1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 23:08:06 +11:00
collapseos/tests/z80/test_sdc.fs
2020-09-18 22:20:54 -04:00

11 lines
193 B
Forth

212 LOAD ( z80a )
: SPI_DATA 4 ;
: SPI_CTL 5 ;
: SDC_DEVID 1 ;
596 LOAD ( spi )
423 436 LOADR ( sdc )
0x0000 0x00 _crc16 0x0000 #eq
0x0000 0x01 _crc16 0x1021 #eq
0x5678 0x34 _crc16 0x34e4 #eq