1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Merge pull request #32 from groessler/something_to_pull

minor improvements
This commit is contained in:
Oliver Schmidt 2013-08-26 03:59:48 -07:00
commit a9267e35b4
2 changed files with 19 additions and 1 deletions

View File

@ -101,11 +101,28 @@ SIO_FORMAT = $21 ;format disk (default density)
SIO_FORMATS = $22 ;1050: format medium density SIO_FORMATS = $22 ;1050: format medium density
SIO_CONFIG = $44 ;configure drive SIO_CONFIG = $44 ;configure drive
SIO_CONFIGSF = $4B ;slow/fast configure drive?? SIO_CONFIGSF = $4B ;slow/fast configure drive??
SIO_RDPERCOM = $4E ;read PERCOM block (XF551)
SIO_WRPERCOM = $4F ;write PERCOM block (XF551)
SIO_WRITE = $50 ;write sector SIO_WRITE = $50 ;write sector
SIO_READ = $52 ;read sector SIO_READ = $52 ;read sector
SIO_STAT = $53 ;get status information SIO_STAT = $53 ;get status information
SIO_VERIFY = $56 ;verify sector SIO_VERIFY = $56 ;verify sector
SIO_WRITEV = $57 ;write sector with verify SIO_WRITEV = $57 ;write sector with verify
SIO_WRITETRK = $60 ;write track (Speedy)
SIO_READTRK = $62 ;read track (Speedy)
; SIO Status Code (DSTATS)
; Input: data direction
; Bit #7 - W (write operation)
; #6 - R (read operation)
; Output: status code
; $01 (001) -- OPERATION COMPLETE (NO ERRORS)
; $8A (138) -- DEVICE TIMEOUT (DOESN'T RESPOND)
; $8B (139) -- DEVICE NAK
; $8C (140) -- SERIAL BUS INPUT FRAMING ERROR
; $8E (142) -- SERIAL BUS DATA FRAME OVERRUN ERROR
; $8F (143) -- SERIAL BUS DATA FRAME CHECKSUM ERROR
; $90 (144) -- DEVICE DONE ERROR
; Character and Key Code Equates ; Character and Key Code Equates

View File

@ -40,6 +40,7 @@ int main(void)
printf("is'a a XL/XE, %s, Rev. %d\n",palntsc ? "PAL" : "NTSC",minor); printf("is'a a XL/XE, %s, Rev. %d\n",palntsc ? "PAL" : "NTSC",minor);
break; break;
} }
printf("hit <RETURN> to continure...\n"); printf("hit <RETURN> to continue...\n");
c = getchar(); c = getchar();
return 0;
} }