1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-21 00:38:07 +11:00
collapseos/tests/z80/test_sdc.fs
2020-07-05 15:01:59 -04:00

11 lines
196 B
Forth

212 LOAD ( z80a )
: SPI_DATA 4 ;
: SPI_CSLOW 5 ;
: SPI_CSHIGH 6 ;
596 LOAD ( spi )
603 616 LOADR ( sdc )
0x0000 0x00 _crc16 0x0000 #eq
0x0000 0x01 _crc16 0x1021 #eq
0x5678 0x34 _crc16 0x34e4 #eq