1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 02:08:06 +11:00
collapseos/tests/z80/test_sdc.fs

11 lines
193 B
Forth
Raw Normal View History

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