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

11 lines
196 B
Forth
Raw Normal View History

212 LOAD ( z80a )
2020-07-06 05:01:59 +10:00
: SPI_DATA 4 ;
: SPI_CSLOW 5 ;
: SPI_CSHIGH 6 ;
596 LOAD ( spi )
603 616 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