8d78ca9dac
The SD card driver is a bit too slow to be bearable. I'll write _crc16 in z80 and see how it goes.
11 lines
203 B
Forth
11 lines
203 B
Forth
212 LOAD ( z80a )
|
|
: SDC_SPI 4 ;
|
|
: SDC_CSLOW 5 ;
|
|
: SDC_CSHIGH 6 ;
|
|
372 LOAD ( sdc.z80 )
|
|
374 LOAD ( sdc.fs )
|
|
|
|
0x0000 0x0000 _crc16 0x0000 #eq
|
|
0x0000 0x0001 _crc16 0x1021 #eq
|
|
0x5678 0x1234 _crc16 0x43c4 #eq
|