Removed (pretty inconsistently used) tab chars from source code base.
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
; unsigned char cbm_k_acptr (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_acptr
|
||||
.export _cbm_k_acptr
|
||||
.import ACPTR
|
||||
|
||||
|
||||
_cbm_k_acptr:
|
||||
jsr ACPTR
|
||||
ldx #0
|
||||
rts
|
||||
jsr ACPTR
|
||||
ldx #0
|
||||
rts
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
; unsigned char cbm_k_basin (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_basin
|
||||
.import BASIN
|
||||
.export _cbm_k_basin
|
||||
.import BASIN
|
||||
|
||||
|
||||
_cbm_k_basin:
|
||||
jsr BASIN
|
||||
ldx #0 ; Clear high byte
|
||||
rts
|
||||
jsr BASIN
|
||||
ldx #0 ; Clear high byte
|
||||
rts
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
; void __fastcall__ cbm_k_bsout (unsigned char C);
|
||||
;
|
||||
|
||||
.export _cbm_k_bsout
|
||||
.export _cbm_k_bsout
|
||||
.import BSOUT
|
||||
|
||||
_cbm_k_bsout = BSOUT
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
; unsigned char __fastcall__ cbm_k_chkin (unsigned char FN);
|
||||
;
|
||||
|
||||
.export _cbm_k_chkin
|
||||
.export _cbm_k_chkin
|
||||
.import CHKIN
|
||||
|
||||
_cbm_k_chkin:
|
||||
tax
|
||||
jsr CHKIN
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
tax
|
||||
jsr CHKIN
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
txa
|
||||
@NotOk: rts
|
||||
@NotOk: rts
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
;
|
||||
|
||||
.import CIOUT
|
||||
.export _cbm_k_ciout := CIOUT
|
||||
.export _cbm_k_ciout := CIOUT
|
||||
|
||||
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
; unsigned char __fastcall__ cbm_k_ckout (unsigned char FN);
|
||||
;
|
||||
|
||||
.export _cbm_k_ckout
|
||||
.export _cbm_k_ckout
|
||||
.import CKOUT
|
||||
|
||||
|
||||
_cbm_k_ckout:
|
||||
tax
|
||||
jsr CKOUT
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
tax
|
||||
jsr CKOUT
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
txa
|
||||
@NotOk: rts
|
||||
@NotOk: rts
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
;
|
||||
|
||||
.import CLALL
|
||||
.export _cbm_k_clall := CLALL
|
||||
.export _cbm_k_clall := CLALL
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
; void __fastcall__ cbm_k_close (unsigned char FN);
|
||||
;
|
||||
|
||||
.export _cbm_k_close
|
||||
.export _cbm_k_close
|
||||
.import CLOSE
|
||||
|
||||
_cbm_k_close:
|
||||
clc
|
||||
jmp CLOSE
|
||||
clc
|
||||
jmp CLOSE
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
; void cbm_k_clrch (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_clrch
|
||||
.export _cbm_k_clrch
|
||||
.import CLRCH
|
||||
|
||||
_cbm_k_clrch = CLRCH
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
; unsigned char cbm_k_getin (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_getin
|
||||
.export _cbm_k_getin
|
||||
.import GETIN
|
||||
|
||||
|
||||
_cbm_k_getin:
|
||||
jsr GETIN
|
||||
ldx #0
|
||||
rts
|
||||
jsr GETIN
|
||||
ldx #0
|
||||
rts
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
; unsigned cbm_k_iobase (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_iobase
|
||||
.export _cbm_k_iobase
|
||||
.import IOBASE
|
||||
|
||||
_cbm_k_iobase:
|
||||
jsr IOBASE
|
||||
txa
|
||||
pha
|
||||
tya
|
||||
tax
|
||||
pla
|
||||
rts
|
||||
jsr IOBASE
|
||||
txa
|
||||
pha
|
||||
tya
|
||||
tax
|
||||
pla
|
||||
rts
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
;
|
||||
|
||||
.import LISTEN
|
||||
.export _cbm_k_listen := LISTEN
|
||||
.export _cbm_k_listen := LISTEN
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
; unsigned int __fastcall__ cbm_k_load (unsigned char flag, unsigned addr);
|
||||
;
|
||||
|
||||
.export _cbm_k_load
|
||||
.export _cbm_k_load
|
||||
.import LOAD
|
||||
.import __oserror
|
||||
.import popa
|
||||
.importzp ptr1
|
||||
.import popa
|
||||
.importzp ptr1
|
||||
|
||||
_cbm_k_load:
|
||||
sta ptr1
|
||||
stx ptr1+1
|
||||
jsr popa ; get flag
|
||||
ldx ptr1
|
||||
ldy ptr1+1
|
||||
jsr LOAD
|
||||
bcc @Ok
|
||||
sta ptr1
|
||||
stx ptr1+1
|
||||
jsr popa ; get flag
|
||||
ldx ptr1
|
||||
ldy ptr1+1
|
||||
jsr LOAD
|
||||
bcc @Ok
|
||||
sta __oserror
|
||||
ldx ptr1
|
||||
ldy ptr1+1
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
; unsigned char cbm_k_open (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_open
|
||||
.export _cbm_k_open
|
||||
.import OPEN
|
||||
|
||||
|
||||
_cbm_k_open:
|
||||
jsr OPEN
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
jsr OPEN
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
txa
|
||||
@NotOk: rts
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
; unsigned char cbm_k_readst (void);
|
||||
;
|
||||
|
||||
.export _cbm_k_readst
|
||||
.import READST
|
||||
.export _cbm_k_readst
|
||||
.import READST
|
||||
|
||||
|
||||
_cbm_k_readst:
|
||||
jsr READST
|
||||
ldx #0 ; Clear high byte
|
||||
rts
|
||||
jsr READST
|
||||
ldx #0 ; Clear high byte
|
||||
rts
|
||||
|
||||
@@ -20,7 +20,7 @@ _cbm_k_save:
|
||||
ldx tmp1
|
||||
ldy tmp1+1
|
||||
jsr SAVE
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
txa
|
||||
@NotOk: rts
|
||||
@NotOk: rts
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
; Ullrich von Bassewitz, 03.06.1999
|
||||
;
|
||||
; void __fastcall__ cbm_k_setlfs (unsigned char LFN,
|
||||
; unsigned char DEV,
|
||||
; unsigned char SA);
|
||||
; unsigned char DEV,
|
||||
; unsigned char SA);
|
||||
;
|
||||
|
||||
.export _cbm_k_setlfs
|
||||
.export _cbm_k_setlfs
|
||||
.import SETLFS
|
||||
.import popa
|
||||
.importzp tmp1
|
||||
.import popa
|
||||
.importzp tmp1
|
||||
|
||||
|
||||
_cbm_k_setlfs:
|
||||
sta tmp1 ; Save SA
|
||||
jsr popa ; Get DEV
|
||||
tax
|
||||
jsr popa ; Get LFN
|
||||
ldy tmp1 ; Get SA
|
||||
jmp SETLFS
|
||||
sta tmp1 ; Save SA
|
||||
jsr popa ; Get DEV
|
||||
tax
|
||||
jsr popa ; Get LFN
|
||||
ldy tmp1 ; Get SA
|
||||
jmp SETLFS
|
||||
|
||||
|
||||
|
||||
@@ -4,21 +4,21 @@
|
||||
; void __fastcall__ cbm_k_setnam (const char* Name);
|
||||
;
|
||||
|
||||
.export _cbm_k_setnam
|
||||
.export _cbm_k_setnam
|
||||
.import SETNAM
|
||||
.importzp ptr1
|
||||
.importzp ptr1
|
||||
|
||||
|
||||
_cbm_k_setnam:
|
||||
sta ptr1 ; Store pointer to file name
|
||||
stx ptr1+1
|
||||
ldy #$FF
|
||||
@Loop: iny ; Get length of name
|
||||
lda (ptr1),y
|
||||
bne @Loop
|
||||
sta ptr1 ; Store pointer to file name
|
||||
stx ptr1+1
|
||||
ldy #$FF
|
||||
@Loop: iny ; Get length of name
|
||||
lda (ptr1),y
|
||||
bne @Loop
|
||||
|
||||
tya ; Length
|
||||
ldx ptr1
|
||||
ldy ptr1+1
|
||||
jmp SETNAM
|
||||
tya ; Length
|
||||
ldx ptr1
|
||||
ldy ptr1+1
|
||||
jmp SETNAM
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
;
|
||||
|
||||
.import TALK
|
||||
.export _cbm_k_talk := TALK
|
||||
.export _cbm_k_talk := TALK
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
;
|
||||
|
||||
.import UNLSN
|
||||
.export _cbm_k_unlsn := UNLSN
|
||||
.export _cbm_k_unlsn := UNLSN
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
; void cbm_untlk (void);
|
||||
;
|
||||
|
||||
.export _cbm_untlk
|
||||
.export _cbm_untlk
|
||||
.import UNTLK
|
||||
|
||||
|
||||
|
||||
@@ -7,45 +7,45 @@
|
||||
; Subroutines available in the CBM jump table
|
||||
;
|
||||
|
||||
;CINT = $FF81
|
||||
;IOINIT = $FF84
|
||||
;RAMTAS = $FF87
|
||||
;RESTOR = $FF8A
|
||||
;VECTOR = $FF8D
|
||||
;SETMSG = $FF90
|
||||
;SECOND = $FF93
|
||||
;TKSA = $FF96
|
||||
;MEMTOP = $FF99
|
||||
;MEMBOT = $FF9C
|
||||
;SCNKEY = $FF9F
|
||||
;SETTMO = $FFA2
|
||||
;ACPTR = $FFA5
|
||||
;CIOUT = $FFA8
|
||||
;UNTLK = $FFAB
|
||||
;UNLSN = $FFAE
|
||||
;LISTEN = $FFB1
|
||||
;TALK = $FFB4
|
||||
;READST = $FFB7
|
||||
;SETLFS = $FFBA
|
||||
;SETNAM = $FFBD
|
||||
;OPEN = $FFC0
|
||||
;CLOSE = $FFC3
|
||||
;CHKIN = $FFC6
|
||||
;CKOUT = $FFC9
|
||||
;CLRCH = $FFCC
|
||||
;BASIN = $FFCF
|
||||
;BSOUT = $FFD2
|
||||
;LOAD = $FFD5
|
||||
;SAVE = $FFD8
|
||||
;SETTIM = $FFDB
|
||||
;RDTIM = $FFDE
|
||||
;STOP = $FFE1
|
||||
;GETIN = $FFE4
|
||||
;CLALL = $FFE7
|
||||
;UDTIM = $FFEA
|
||||
;SCREEN = $FFED
|
||||
;PLOT = $FFF0
|
||||
;IOBASE = $FFF3
|
||||
;CINT = $FF81
|
||||
;IOINIT = $FF84
|
||||
;RAMTAS = $FF87
|
||||
;RESTOR = $FF8A
|
||||
;VECTOR = $FF8D
|
||||
;SETMSG = $FF90
|
||||
;SECOND = $FF93
|
||||
;TKSA = $FF96
|
||||
;MEMTOP = $FF99
|
||||
;MEMBOT = $FF9C
|
||||
;SCNKEY = $FF9F
|
||||
;SETTMO = $FFA2
|
||||
;ACPTR = $FFA5
|
||||
;CIOUT = $FFA8
|
||||
;UNTLK = $FFAB
|
||||
;UNLSN = $FFAE
|
||||
;LISTEN = $FFB1
|
||||
;TALK = $FFB4
|
||||
;READST = $FFB7
|
||||
;SETLFS = $FFBA
|
||||
;SETNAM = $FFBD
|
||||
;OPEN = $FFC0
|
||||
;CLOSE = $FFC3
|
||||
;CHKIN = $FFC6
|
||||
;CKOUT = $FFC9
|
||||
;CLRCH = $FFCC
|
||||
;BASIN = $FFCF
|
||||
;BSOUT = $FFD2
|
||||
;LOAD = $FFD5
|
||||
;SAVE = $FFD8
|
||||
;SETTIM = $FFDB
|
||||
;RDTIM = $FFDE
|
||||
;STOP = $FFE1
|
||||
;GETIN = $FFE4
|
||||
;CLALL = $FFE7
|
||||
;UDTIM = $FFEA
|
||||
;SCREEN = $FFED
|
||||
;PLOT = $FFF0
|
||||
;IOBASE = $FFF3
|
||||
|
||||
|
||||
;-----------------------------------------------------------------------------
|
||||
|
||||
@@ -117,11 +117,11 @@ unsigned char __fastcall__ cbm_readdir (unsigned char lfn, register struct cbm_d
|
||||
if (is_header) {
|
||||
l_dirent->type = CBM_T_HEADER;
|
||||
|
||||
/* Get the disk-format code. */
|
||||
i = 6;
|
||||
do {
|
||||
l_dirent->access = byte = cbm_k_basin();
|
||||
} while (--i != 0);
|
||||
/* Get the disk-format code. */
|
||||
i = 6;
|
||||
do {
|
||||
l_dirent->access = byte = cbm_k_basin();
|
||||
} while (--i != 0);
|
||||
|
||||
} else {
|
||||
/* Go to the file-type column. */
|
||||
@@ -144,10 +144,10 @@ unsigned char __fastcall__ cbm_readdir (unsigned char lfn, register struct cbm_d
|
||||
/* Determine the file type */
|
||||
l_dirent->type = _cbm_filetype (byte);
|
||||
|
||||
/* Notice whether it's a directory or a deleted file. */
|
||||
if (cbm_k_basin() == 'i' && byte == 'd') {
|
||||
l_dirent->type = CBM_T_DIR;
|
||||
}
|
||||
/* Notice whether it's a directory or a deleted file. */
|
||||
if (cbm_k_basin() == 'i' && byte == 'd') {
|
||||
l_dirent->type = CBM_T_DIR;
|
||||
}
|
||||
cbm_k_basin();
|
||||
|
||||
/* Locked files shouldn't be written. */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
; }
|
||||
;
|
||||
|
||||
.export _cbm_open
|
||||
.import popa
|
||||
.export _cbm_open
|
||||
.import popa
|
||||
.import _cbm_k_setlfs, _cbm_k_setnam, _cbm_k_open
|
||||
.import __oserror
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@
|
||||
|
||||
.include "cbm.inc"
|
||||
|
||||
.export _cbm_read
|
||||
.export _cbm_read
|
||||
.import CHKIN, READST, BASIN, CLRCH
|
||||
.importzp ptr1, ptr2, ptr3, tmp1
|
||||
.import popax, popa
|
||||
.import popax, popa
|
||||
.import __oserror
|
||||
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
|
||||
.include "cbm.inc"
|
||||
|
||||
.export _cbm_write
|
||||
.export _cbm_write
|
||||
.import CKOUT, READST, BSOUT, CLRCH
|
||||
.importzp ptr1, ptr2, ptr3
|
||||
.import popax, popa
|
||||
.import popax, popa
|
||||
.import __oserror
|
||||
|
||||
|
||||
|
||||
@@ -5,25 +5,25 @@
|
||||
; void cclear (unsigned char length);
|
||||
;
|
||||
|
||||
.export _cclearxy, _cclear
|
||||
.import popa, _gotoxy, cputdirect
|
||||
.importzp tmp1
|
||||
.export _cclearxy, _cclear
|
||||
.import popa, _gotoxy, cputdirect
|
||||
.importzp tmp1
|
||||
|
||||
_cclearxy:
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
jsr _gotoxy ; Call this one, will pop params
|
||||
pla ; Restore the length and run into _cclear
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
jsr _gotoxy ; Call this one, will pop params
|
||||
pla ; Restore the length and run into _cclear
|
||||
|
||||
_cclear:
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #$20 ; Blank - screen code
|
||||
jsr cputdirect ; Direct output
|
||||
dec tmp1
|
||||
bne L1
|
||||
L9: rts
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #$20 ; Blank - screen code
|
||||
jsr cputdirect ; Direct output
|
||||
dec tmp1
|
||||
bne L1
|
||||
L9: rts
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,25 +5,25 @@
|
||||
; void chline (unsigned char length);
|
||||
;
|
||||
|
||||
.export _chlinexy, _chline
|
||||
.import popa, _gotoxy, cputdirect
|
||||
.importzp tmp1
|
||||
.export _chlinexy, _chline
|
||||
.import popa, _gotoxy, cputdirect
|
||||
.importzp tmp1
|
||||
|
||||
_chlinexy:
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
jsr _gotoxy ; Call this one, will pop params
|
||||
pla ; Restore the length
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
jsr _gotoxy ; Call this one, will pop params
|
||||
pla ; Restore the length
|
||||
|
||||
_chline:
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #64 ; Horizontal line, screen code
|
||||
jsr cputdirect ; Direct output
|
||||
dec tmp1
|
||||
bne L1
|
||||
L9: rts
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #64 ; Horizontal line, screen code
|
||||
jsr cputdirect ; Direct output
|
||||
dec tmp1
|
||||
bne L1
|
||||
L9: rts
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
; clock_t clock (void);
|
||||
;
|
||||
|
||||
.export _clock
|
||||
.export _clock
|
||||
.import RDTIM
|
||||
.importzp sreg
|
||||
.importzp sreg
|
||||
|
||||
|
||||
|
||||
.proc _clock
|
||||
.proc _clock
|
||||
|
||||
lda #0 ; Byte 3 is always zero
|
||||
sta sreg+1
|
||||
jsr RDTIM
|
||||
sty sreg
|
||||
rts
|
||||
lda #0 ; Byte 3 is always zero
|
||||
sta sreg+1
|
||||
jsr RDTIM
|
||||
sty sreg
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
@@ -20,270 +20,270 @@
|
||||
|
||||
; This table is taken from Craig S. Bruce's technical docs. for the ACE OS.
|
||||
|
||||
.include "ctype.inc"
|
||||
.include "ctype.inc"
|
||||
|
||||
; The table is read-only, put it into the RODATA segment.
|
||||
|
||||
.rodata
|
||||
.rodata
|
||||
|
||||
__ctype:
|
||||
.byte CT_CTRL ; 0/00 ___rvs_@___
|
||||
.byte CT_CTRL ; 1/01 ___rvs_a___
|
||||
.byte CT_CTRL ; 2/02 ___rvs_b___
|
||||
.byte CT_CTRL ; 3/03 ___rvs_c___
|
||||
.byte CT_CTRL ; 4/04 ___rvs_d___
|
||||
.byte CT_CTRL ; 5/05 ___rvs_e___
|
||||
.byte CT_CTRL ; 6/06 ___rvs_f___
|
||||
.byte CT_CTRL ; 7/07 _BEL/rvs_g_
|
||||
.byte CT_CTRL ; 8/08 ___rvs_h___
|
||||
.byte CT_CTRL | CT_OTHER_WS | CT_SPACE_TAB ; 9/09 _TAB/rvs_i_
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 10/0a _BOL/rvs_j_
|
||||
.byte CT_CTRL ; 11/0b ___rvs_k___
|
||||
.byte CT_CTRL ; 12/0c ___rvs_l___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 13/0d _CR_/rvs_m_
|
||||
.byte CT_CTRL ; 14/0e ___rvs_n___
|
||||
.byte CT_CTRL ; 15/0f ___rvs_o___
|
||||
.byte CT_CTRL ; 16/10 ___rvs_p___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 17/11 _VT_/rvs_q_
|
||||
.byte CT_CTRL ; 18/12 ___rvs_r___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 19/13 HOME/rvs_s_
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 20/14 _BS_/rvs_t_
|
||||
.byte CT_CTRL ; 21/15 ___rvs_u___
|
||||
.byte CT_CTRL ; 22/16 ___rvs_v___
|
||||
.byte CT_CTRL ; 23/17 ___rvs_w___
|
||||
.byte CT_CTRL ; 24/18 ___rvs_x___
|
||||
.byte CT_CTRL ; 25/19 ___rvs_y___
|
||||
.byte CT_CTRL ; 26/1a ___rvs_z___
|
||||
.byte CT_CTRL ; 27/1b ___rvs_[___
|
||||
.byte CT_CTRL ; 28/1c ___rvs_\___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 29/1d cursr-right
|
||||
.byte CT_CTRL ; 30/1e ___rvs_^___
|
||||
.byte CT_CTRL ; 31/1f _rvs_under_
|
||||
.byte CT_SPACE | CT_SPACE_TAB ; 32/20 ___SPACE___
|
||||
.byte $00 ; 33/21 _____!_____
|
||||
.byte $00 ; 34/22 _____"_____
|
||||
.byte $00 ; 35/23 _____#_____
|
||||
.byte $00 ; 36/24 _____$_____
|
||||
.byte $00 ; 37/25 _____%_____
|
||||
.byte $00 ; 38/26 _____&_____
|
||||
.byte $00 ; 39/27 _____'_____
|
||||
.byte $00 ; 40/28 _____(_____
|
||||
.byte $00 ; 41/29 _____)_____
|
||||
.byte $00 ; 42/2a _____*_____
|
||||
.byte $00 ; 43/2b _____+_____
|
||||
.byte $00 ; 44/2c _____,_____
|
||||
.byte $00 ; 45/2d _____-_____
|
||||
.byte $00 ; 46/2e _____._____
|
||||
.byte $00 ; 47/2f _____/_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 48/30 _____0_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 49/31 _____1_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 50/32 _____2_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 51/33 _____3_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 52/34 _____4_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 53/35 _____5_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 54/36 _____6_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 55/37 _____7_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 56/38 _____8_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 57/39 _____9_____
|
||||
.byte $00 ; 58/3a _____:_____
|
||||
.byte $00 ; 59/3b _____;_____
|
||||
.byte $00 ; 60/3c _____<_____
|
||||
.byte $00 ; 61/3d _____=_____
|
||||
.byte $00 ; 62/3e _____>_____
|
||||
.byte $00 ; 63/3f _____?_____
|
||||
.byte CT_CTRL ; 0/00 ___rvs_@___
|
||||
.byte CT_CTRL ; 1/01 ___rvs_a___
|
||||
.byte CT_CTRL ; 2/02 ___rvs_b___
|
||||
.byte CT_CTRL ; 3/03 ___rvs_c___
|
||||
.byte CT_CTRL ; 4/04 ___rvs_d___
|
||||
.byte CT_CTRL ; 5/05 ___rvs_e___
|
||||
.byte CT_CTRL ; 6/06 ___rvs_f___
|
||||
.byte CT_CTRL ; 7/07 _BEL/rvs_g_
|
||||
.byte CT_CTRL ; 8/08 ___rvs_h___
|
||||
.byte CT_CTRL | CT_OTHER_WS | CT_SPACE_TAB ; 9/09 _TAB/rvs_i_
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 10/0a _BOL/rvs_j_
|
||||
.byte CT_CTRL ; 11/0b ___rvs_k___
|
||||
.byte CT_CTRL ; 12/0c ___rvs_l___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 13/0d _CR_/rvs_m_
|
||||
.byte CT_CTRL ; 14/0e ___rvs_n___
|
||||
.byte CT_CTRL ; 15/0f ___rvs_o___
|
||||
.byte CT_CTRL ; 16/10 ___rvs_p___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 17/11 _VT_/rvs_q_
|
||||
.byte CT_CTRL ; 18/12 ___rvs_r___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 19/13 HOME/rvs_s_
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 20/14 _BS_/rvs_t_
|
||||
.byte CT_CTRL ; 21/15 ___rvs_u___
|
||||
.byte CT_CTRL ; 22/16 ___rvs_v___
|
||||
.byte CT_CTRL ; 23/17 ___rvs_w___
|
||||
.byte CT_CTRL ; 24/18 ___rvs_x___
|
||||
.byte CT_CTRL ; 25/19 ___rvs_y___
|
||||
.byte CT_CTRL ; 26/1a ___rvs_z___
|
||||
.byte CT_CTRL ; 27/1b ___rvs_[___
|
||||
.byte CT_CTRL ; 28/1c ___rvs_\___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 29/1d cursr-right
|
||||
.byte CT_CTRL ; 30/1e ___rvs_^___
|
||||
.byte CT_CTRL ; 31/1f _rvs_under_
|
||||
.byte CT_SPACE | CT_SPACE_TAB ; 32/20 ___SPACE___
|
||||
.byte $00 ; 33/21 _____!_____
|
||||
.byte $00 ; 34/22 _____"_____
|
||||
.byte $00 ; 35/23 _____#_____
|
||||
.byte $00 ; 36/24 _____$_____
|
||||
.byte $00 ; 37/25 _____%_____
|
||||
.byte $00 ; 38/26 _____&_____
|
||||
.byte $00 ; 39/27 _____'_____
|
||||
.byte $00 ; 40/28 _____(_____
|
||||
.byte $00 ; 41/29 _____)_____
|
||||
.byte $00 ; 42/2a _____*_____
|
||||
.byte $00 ; 43/2b _____+_____
|
||||
.byte $00 ; 44/2c _____,_____
|
||||
.byte $00 ; 45/2d _____-_____
|
||||
.byte $00 ; 46/2e _____._____
|
||||
.byte $00 ; 47/2f _____/_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 48/30 _____0_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 49/31 _____1_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 50/32 _____2_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 51/33 _____3_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 52/34 _____4_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 53/35 _____5_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 54/36 _____6_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 55/37 _____7_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 56/38 _____8_____
|
||||
.byte CT_DIGIT | CT_XDIGIT ; 57/39 _____9_____
|
||||
.byte $00 ; 58/3a _____:_____
|
||||
.byte $00 ; 59/3b _____;_____
|
||||
.byte $00 ; 60/3c _____<_____
|
||||
.byte $00 ; 61/3d _____=_____
|
||||
.byte $00 ; 62/3e _____>_____
|
||||
.byte $00 ; 63/3f _____?_____
|
||||
|
||||
.byte $00 ; 64/40 _____@_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 65/41 _____a_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 66/42 _____b_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 67/43 _____c_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 68/44 _____d_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 69/45 _____e_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 70/46 _____f_____
|
||||
.byte CT_LOWER ; 71/47 _____g_____
|
||||
.byte CT_LOWER ; 72/48 _____h_____
|
||||
.byte CT_LOWER ; 73/49 _____i_____
|
||||
.byte CT_LOWER ; 74/4a _____j_____
|
||||
.byte CT_LOWER ; 75/4b _____k_____
|
||||
.byte CT_LOWER ; 76/4c _____l_____
|
||||
.byte CT_LOWER ; 77/4d _____m_____
|
||||
.byte CT_LOWER ; 78/4e _____n_____
|
||||
.byte CT_LOWER ; 79/4f _____o_____
|
||||
.byte CT_LOWER ; 80/50 _____p_____
|
||||
.byte CT_LOWER ; 81/51 _____q_____
|
||||
.byte CT_LOWER ; 82/52 _____r_____
|
||||
.byte CT_LOWER ; 83/53 _____s_____
|
||||
.byte CT_LOWER ; 84/54 _____t_____
|
||||
.byte CT_LOWER ; 85/55 _____u_____
|
||||
.byte CT_LOWER ; 86/56 _____v_____
|
||||
.byte CT_LOWER ; 87/57 _____w_____
|
||||
.byte CT_LOWER ; 88/58 _____x_____
|
||||
.byte CT_LOWER ; 89/59 _____y_____
|
||||
.byte CT_LOWER ; 90/5a _____z_____
|
||||
.byte $00 ; 91/5b _____[_____
|
||||
.byte $00 ; 92/5c _____\_____
|
||||
.byte $00 ; 93/5d _____]_____
|
||||
.byte $00 ; 94/5e _____^_____
|
||||
.byte $00 ; 95/5f _UNDERLINE_
|
||||
.byte $00 ; 96/60 _A`_grave__
|
||||
.byte $00 ; 97/61 _A'_acute__
|
||||
.byte $00 ; 98/62 _A^_circum_
|
||||
.byte $00 ; 99/63 _A~_tilde__
|
||||
.byte $00 ; 100/64 _A"_dieres_
|
||||
.byte $00 ; 101/65 _A__ring___
|
||||
.byte $00 ; 102/66 _AE________
|
||||
.byte $00 ; 103/67 _C,cedilla_
|
||||
.byte $00 ; 104/68 _E`_grave__
|
||||
.byte $00 ; 105/69 _E'_acute__
|
||||
.byte $00 ; 106/6a _E^_circum_
|
||||
.byte $00 ; 107/6b _E"_dieres_
|
||||
.byte $00 ; 108/6c _I`_grave__
|
||||
.byte $00 ; 109/6d _I'_acute__
|
||||
.byte $00 ; 110/6e _I^_circum_
|
||||
.byte $00 ; 111/6f _I"_dieres_
|
||||
.byte $00 ; 112/70 _D-_Eth_lr_
|
||||
.byte $00 ; 113/71 _N~_tilde__
|
||||
.byte $00 ; 114/72 _O`_grave__
|
||||
.byte $00 ; 115/73 _O'_acute__
|
||||
.byte $00 ; 116/74 _O^_circum_
|
||||
.byte $00 ; 117/75 _O~_tilde__
|
||||
.byte $00 ; 118/76 _O"_dieres_
|
||||
.byte $00 ; 119/77 __multiply_
|
||||
.byte $00 ; 120/78 _O/_slash__
|
||||
.byte $00 ; 121/79 _U`_grave__
|
||||
.byte $00 ; 122/7a _U'_acute__
|
||||
.byte $00 ; 123/7b _U^_circum_
|
||||
.byte $00 ; 124/7c _U"_dieres_
|
||||
.byte $00 ; 125/7d _Y'_acute__
|
||||
.byte $00 ; 126/7e _cap_thorn_
|
||||
.byte $00 ; 127/7f _Es-sed_B__
|
||||
.byte $00 ; 64/40 _____@_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 65/41 _____a_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 66/42 _____b_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 67/43 _____c_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 68/44 _____d_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 69/45 _____e_____
|
||||
.byte CT_LOWER | CT_XDIGIT ; 70/46 _____f_____
|
||||
.byte CT_LOWER ; 71/47 _____g_____
|
||||
.byte CT_LOWER ; 72/48 _____h_____
|
||||
.byte CT_LOWER ; 73/49 _____i_____
|
||||
.byte CT_LOWER ; 74/4a _____j_____
|
||||
.byte CT_LOWER ; 75/4b _____k_____
|
||||
.byte CT_LOWER ; 76/4c _____l_____
|
||||
.byte CT_LOWER ; 77/4d _____m_____
|
||||
.byte CT_LOWER ; 78/4e _____n_____
|
||||
.byte CT_LOWER ; 79/4f _____o_____
|
||||
.byte CT_LOWER ; 80/50 _____p_____
|
||||
.byte CT_LOWER ; 81/51 _____q_____
|
||||
.byte CT_LOWER ; 82/52 _____r_____
|
||||
.byte CT_LOWER ; 83/53 _____s_____
|
||||
.byte CT_LOWER ; 84/54 _____t_____
|
||||
.byte CT_LOWER ; 85/55 _____u_____
|
||||
.byte CT_LOWER ; 86/56 _____v_____
|
||||
.byte CT_LOWER ; 87/57 _____w_____
|
||||
.byte CT_LOWER ; 88/58 _____x_____
|
||||
.byte CT_LOWER ; 89/59 _____y_____
|
||||
.byte CT_LOWER ; 90/5a _____z_____
|
||||
.byte $00 ; 91/5b _____[_____
|
||||
.byte $00 ; 92/5c _____\_____
|
||||
.byte $00 ; 93/5d _____]_____
|
||||
.byte $00 ; 94/5e _____^_____
|
||||
.byte $00 ; 95/5f _UNDERLINE_
|
||||
.byte $00 ; 96/60 _A`_grave__
|
||||
.byte $00 ; 97/61 _A'_acute__
|
||||
.byte $00 ; 98/62 _A^_circum_
|
||||
.byte $00 ; 99/63 _A~_tilde__
|
||||
.byte $00 ; 100/64 _A"_dieres_
|
||||
.byte $00 ; 101/65 _A__ring___
|
||||
.byte $00 ; 102/66 _AE________
|
||||
.byte $00 ; 103/67 _C,cedilla_
|
||||
.byte $00 ; 104/68 _E`_grave__
|
||||
.byte $00 ; 105/69 _E'_acute__
|
||||
.byte $00 ; 106/6a _E^_circum_
|
||||
.byte $00 ; 107/6b _E"_dieres_
|
||||
.byte $00 ; 108/6c _I`_grave__
|
||||
.byte $00 ; 109/6d _I'_acute__
|
||||
.byte $00 ; 110/6e _I^_circum_
|
||||
.byte $00 ; 111/6f _I"_dieres_
|
||||
.byte $00 ; 112/70 _D-_Eth_lr_
|
||||
.byte $00 ; 113/71 _N~_tilde__
|
||||
.byte $00 ; 114/72 _O`_grave__
|
||||
.byte $00 ; 115/73 _O'_acute__
|
||||
.byte $00 ; 116/74 _O^_circum_
|
||||
.byte $00 ; 117/75 _O~_tilde__
|
||||
.byte $00 ; 118/76 _O"_dieres_
|
||||
.byte $00 ; 119/77 __multiply_
|
||||
.byte $00 ; 120/78 _O/_slash__
|
||||
.byte $00 ; 121/79 _U`_grave__
|
||||
.byte $00 ; 122/7a _U'_acute__
|
||||
.byte $00 ; 123/7b _U^_circum_
|
||||
.byte $00 ; 124/7c _U"_dieres_
|
||||
.byte $00 ; 125/7d _Y'_acute__
|
||||
.byte $00 ; 126/7e _cap_thorn_
|
||||
.byte $00 ; 127/7f _Es-sed_B__
|
||||
|
||||
.byte CT_CTRL ; 128/80 __bullet___
|
||||
.byte CT_CTRL ; 129/81 __v_line___
|
||||
.byte CT_CTRL ; 130/82 __h_line___
|
||||
.byte CT_CTRL ; 131/83 ___cross___
|
||||
.byte CT_CTRL ; 132/84 _tl_corner_
|
||||
.byte CT_CTRL ; 133/85 _tr_corner_
|
||||
.byte CT_CTRL ; 134/86 _bl_corner_
|
||||
.byte CT_CTRL ; 135/87 _br_corner_
|
||||
.byte CT_CTRL ; 136/88 ___l_tee___
|
||||
.byte CT_CTRL ; 137/89 ___r_tee___
|
||||
.byte CT_CTRL ; 138/8a ___t_tee___
|
||||
.byte CT_CTRL ; 139/8b ___b_tee___
|
||||
.byte CT_CTRL ; 140/8c ___heart___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 141/8d _CR/diamond
|
||||
.byte CT_CTRL ; 142/8e ___club____
|
||||
.byte CT_CTRL ; 143/8f ___spade___
|
||||
.byte CT_CTRL ; 144/90 _s_circle__
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 145/91 _cursor-up_
|
||||
.byte CT_CTRL ; 146/92 ___pound___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 147/93 _CLS/check_
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 148/94 __INSert___
|
||||
.byte CT_CTRL ; 149/95 ____+/-____
|
||||
.byte CT_CTRL ; 150/96 __divide___
|
||||
.byte CT_CTRL ; 151/97 __degree___
|
||||
.byte CT_CTRL ; 152/98 _c_checker_
|
||||
.byte CT_CTRL ; 153/99 _f_checker_
|
||||
.byte CT_CTRL ; 154/9a _solid_sq__
|
||||
.byte CT_CTRL ; 155/9b __cr_char__
|
||||
.byte CT_CTRL ; 156/9c _up_arrow__
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 157/9d cursor-left
|
||||
.byte CT_CTRL ; 158/9e _left_arro_
|
||||
.byte CT_CTRL ; 159/9f _right_arr_
|
||||
.byte CT_SPACE | CT_SPACE_TAB ; 160/a0 _req space_
|
||||
.byte $00 ; 161/a1 _!_invertd_
|
||||
.byte $00 ; 162/a2 ___cent____
|
||||
.byte $00 ; 163/a3 ___pound___
|
||||
.byte $00 ; 164/a4 __currency_
|
||||
.byte $00 ; 165/a5 ____yen____
|
||||
.byte $00 ; 166/a6 _|_broken__
|
||||
.byte $00 ; 167/a7 __section__
|
||||
.byte $00 ; 168/a8 __umulaut__
|
||||
.byte $00 ; 169/a9 _copyright_
|
||||
.byte $00 ; 170/aa __fem_ord__
|
||||
.byte $00 ; 171/ab _l_ang_quo_
|
||||
.byte $00 ; 172/ac ____not____
|
||||
.byte $00 ; 173/ad _syl_hyphn_
|
||||
.byte $00 ; 174/ae _registerd_
|
||||
.byte $00 ; 175/af _overline__
|
||||
.byte $00 ; 176/b0 __degrees__
|
||||
.byte $00 ; 177/b1 ____+/-____
|
||||
.byte $00 ; 178/b2 _2_supersc_
|
||||
.byte $00 ; 179/b3 _3_supersc_
|
||||
.byte $00 ; 180/b4 ___acute___
|
||||
.byte $00 ; 181/b5 ____mu_____
|
||||
.byte $00 ; 182/b6 _paragraph_
|
||||
.byte $00 ; 183/b7 __mid_dot__
|
||||
.byte $00 ; 184/b8 __cedilla__
|
||||
.byte $00 ; 185/b9 _1_supersc_
|
||||
.byte $00 ; 186/ba __mas_ord__
|
||||
.byte $00 ; 187/bb _r_ang_quo_
|
||||
.byte $00 ; 188/bc ____1/4____
|
||||
.byte $00 ; 189/bd ____1/2____
|
||||
.byte $00 ; 190/be ____3/4____
|
||||
.byte $00 ; 191/bf _?_invertd_
|
||||
.byte CT_CTRL ; 128/80 __bullet___
|
||||
.byte CT_CTRL ; 129/81 __v_line___
|
||||
.byte CT_CTRL ; 130/82 __h_line___
|
||||
.byte CT_CTRL ; 131/83 ___cross___
|
||||
.byte CT_CTRL ; 132/84 _tl_corner_
|
||||
.byte CT_CTRL ; 133/85 _tr_corner_
|
||||
.byte CT_CTRL ; 134/86 _bl_corner_
|
||||
.byte CT_CTRL ; 135/87 _br_corner_
|
||||
.byte CT_CTRL ; 136/88 ___l_tee___
|
||||
.byte CT_CTRL ; 137/89 ___r_tee___
|
||||
.byte CT_CTRL ; 138/8a ___t_tee___
|
||||
.byte CT_CTRL ; 139/8b ___b_tee___
|
||||
.byte CT_CTRL ; 140/8c ___heart___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 141/8d _CR/diamond
|
||||
.byte CT_CTRL ; 142/8e ___club____
|
||||
.byte CT_CTRL ; 143/8f ___spade___
|
||||
.byte CT_CTRL ; 144/90 _s_circle__
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 145/91 _cursor-up_
|
||||
.byte CT_CTRL ; 146/92 ___pound___
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 147/93 _CLS/check_
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 148/94 __INSert___
|
||||
.byte CT_CTRL ; 149/95 ____+/-____
|
||||
.byte CT_CTRL ; 150/96 __divide___
|
||||
.byte CT_CTRL ; 151/97 __degree___
|
||||
.byte CT_CTRL ; 152/98 _c_checker_
|
||||
.byte CT_CTRL ; 153/99 _f_checker_
|
||||
.byte CT_CTRL ; 154/9a _solid_sq__
|
||||
.byte CT_CTRL ; 155/9b __cr_char__
|
||||
.byte CT_CTRL ; 156/9c _up_arrow__
|
||||
.byte CT_CTRL | CT_OTHER_WS ; 157/9d cursor-left
|
||||
.byte CT_CTRL ; 158/9e _left_arro_
|
||||
.byte CT_CTRL ; 159/9f _right_arr_
|
||||
.byte CT_SPACE | CT_SPACE_TAB ; 160/a0 _req space_
|
||||
.byte $00 ; 161/a1 _!_invertd_
|
||||
.byte $00 ; 162/a2 ___cent____
|
||||
.byte $00 ; 163/a3 ___pound___
|
||||
.byte $00 ; 164/a4 __currency_
|
||||
.byte $00 ; 165/a5 ____yen____
|
||||
.byte $00 ; 166/a6 _|_broken__
|
||||
.byte $00 ; 167/a7 __section__
|
||||
.byte $00 ; 168/a8 __umulaut__
|
||||
.byte $00 ; 169/a9 _copyright_
|
||||
.byte $00 ; 170/aa __fem_ord__
|
||||
.byte $00 ; 171/ab _l_ang_quo_
|
||||
.byte $00 ; 172/ac ____not____
|
||||
.byte $00 ; 173/ad _syl_hyphn_
|
||||
.byte $00 ; 174/ae _registerd_
|
||||
.byte $00 ; 175/af _overline__
|
||||
.byte $00 ; 176/b0 __degrees__
|
||||
.byte $00 ; 177/b1 ____+/-____
|
||||
.byte $00 ; 178/b2 _2_supersc_
|
||||
.byte $00 ; 179/b3 _3_supersc_
|
||||
.byte $00 ; 180/b4 ___acute___
|
||||
.byte $00 ; 181/b5 ____mu_____
|
||||
.byte $00 ; 182/b6 _paragraph_
|
||||
.byte $00 ; 183/b7 __mid_dot__
|
||||
.byte $00 ; 184/b8 __cedilla__
|
||||
.byte $00 ; 185/b9 _1_supersc_
|
||||
.byte $00 ; 186/ba __mas_ord__
|
||||
.byte $00 ; 187/bb _r_ang_quo_
|
||||
.byte $00 ; 188/bc ____1/4____
|
||||
.byte $00 ; 189/bd ____1/2____
|
||||
.byte $00 ; 190/be ____3/4____
|
||||
.byte $00 ; 191/bf _?_invertd_
|
||||
|
||||
.byte $00 ; 192/c0 _____`_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 193/c1 _____A_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 194/c2 _____B_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 195/c3 _____C_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 196/c4 _____D_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 197/c5 _____E_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 198/c6 _____F_____
|
||||
.byte CT_UPPER ; 199/c7 _____G_____
|
||||
.byte CT_UPPER ; 200/c8 _____H_____
|
||||
.byte CT_UPPER ; 201/c9 _____I_____
|
||||
.byte CT_UPPER ; 202/ca _____J_____
|
||||
.byte CT_UPPER ; 203/cb _____K_____
|
||||
.byte CT_UPPER ; 204/cc _____L_____
|
||||
.byte CT_UPPER ; 205/cd _____M_____
|
||||
.byte CT_UPPER ; 206/ce _____N_____
|
||||
.byte CT_UPPER ; 207/cf _____O_____
|
||||
.byte CT_UPPER ; 208/d0 _____P_____
|
||||
.byte CT_UPPER ; 209/d1 _____Q_____
|
||||
.byte CT_UPPER ; 210/d2 _____R_____
|
||||
.byte CT_UPPER ; 211/d3 _____S_____
|
||||
.byte CT_UPPER ; 212/d4 _____T_____
|
||||
.byte CT_UPPER ; 213/d5 _____U_____
|
||||
.byte CT_UPPER ; 214/d6 _____V_____
|
||||
.byte CT_UPPER ; 215/d7 _____W_____
|
||||
.byte CT_UPPER ; 216/d8 _____X_____
|
||||
.byte CT_UPPER ; 217/d9 _____Y_____
|
||||
.byte CT_UPPER ; 218/da _____Z_____
|
||||
.byte $00 ; 219/db _____{_____
|
||||
.byte $00 ; 220/dc _____|_____
|
||||
.byte $00 ; 221/dd _____}_____
|
||||
.byte $00 ; 222/de _____~_____
|
||||
.byte $00 ; 223/df ___HOUSE___
|
||||
.byte $00 ; 224/e0 _a`_grave__
|
||||
.byte $00 ; 225/e1 _a'_acute__
|
||||
.byte $00 ; 226/e2 _a^_circum_
|
||||
.byte $00 ; 227/e3 _a~_tilde__
|
||||
.byte $00 ; 228/e4 _a"_dieres_
|
||||
.byte $00 ; 229/e5 _a__ring___
|
||||
.byte $00 ; 230/e6 _ae________
|
||||
.byte $00 ; 231/e7 _c,cedilla_
|
||||
.byte $00 ; 232/e8 _e`_grave__
|
||||
.byte $00 ; 233/e9 _e'_acute__
|
||||
.byte $00 ; 234/ea _e^_circum_
|
||||
.byte $00 ; 235/eb _e"_dieres_
|
||||
.byte $00 ; 236/ec _i`_grave__
|
||||
.byte $00 ; 237/ed _i'_acute__
|
||||
.byte $00 ; 238/ee _i^_circum_
|
||||
.byte $00 ; 239/ef _i"_dieres_
|
||||
.byte $00 ; 240/f0 _o^x_Eth_s_
|
||||
.byte $00 ; 241/f1 _n~_tilda__
|
||||
.byte $00 ; 242/f2 _o`_grave__
|
||||
.byte $00 ; 243/f3 _o'_acute__
|
||||
.byte $00 ; 244/f4 _o^_circum_
|
||||
.byte $00 ; 245/f5 _o~_tilde__
|
||||
.byte $00 ; 246/f6 _o"_dieres_
|
||||
.byte $00 ; 247/f7 __divide___
|
||||
.byte $00 ; 248/f8 _o/_slash__
|
||||
.byte $00 ; 249/f9 _u`_grave__
|
||||
.byte $00 ; 250/fa _u'_acute__
|
||||
.byte $00 ; 251/fb _u^_circum_
|
||||
.byte $00 ; 252/fc _u"_dieres_
|
||||
.byte $00 ; 253/fd _y'_acute__
|
||||
.byte $00 ; 254/fe _sm_thorn__
|
||||
.byte $00 ; 255/ff _y"_dieres_
|
||||
.byte $00 ; 192/c0 _____`_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 193/c1 _____A_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 194/c2 _____B_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 195/c3 _____C_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 196/c4 _____D_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 197/c5 _____E_____
|
||||
.byte CT_UPPER | CT_XDIGIT ; 198/c6 _____F_____
|
||||
.byte CT_UPPER ; 199/c7 _____G_____
|
||||
.byte CT_UPPER ; 200/c8 _____H_____
|
||||
.byte CT_UPPER ; 201/c9 _____I_____
|
||||
.byte CT_UPPER ; 202/ca _____J_____
|
||||
.byte CT_UPPER ; 203/cb _____K_____
|
||||
.byte CT_UPPER ; 204/cc _____L_____
|
||||
.byte CT_UPPER ; 205/cd _____M_____
|
||||
.byte CT_UPPER ; 206/ce _____N_____
|
||||
.byte CT_UPPER ; 207/cf _____O_____
|
||||
.byte CT_UPPER ; 208/d0 _____P_____
|
||||
.byte CT_UPPER ; 209/d1 _____Q_____
|
||||
.byte CT_UPPER ; 210/d2 _____R_____
|
||||
.byte CT_UPPER ; 211/d3 _____S_____
|
||||
.byte CT_UPPER ; 212/d4 _____T_____
|
||||
.byte CT_UPPER ; 213/d5 _____U_____
|
||||
.byte CT_UPPER ; 214/d6 _____V_____
|
||||
.byte CT_UPPER ; 215/d7 _____W_____
|
||||
.byte CT_UPPER ; 216/d8 _____X_____
|
||||
.byte CT_UPPER ; 217/d9 _____Y_____
|
||||
.byte CT_UPPER ; 218/da _____Z_____
|
||||
.byte $00 ; 219/db _____{_____
|
||||
.byte $00 ; 220/dc _____|_____
|
||||
.byte $00 ; 221/dd _____}_____
|
||||
.byte $00 ; 222/de _____~_____
|
||||
.byte $00 ; 223/df ___HOUSE___
|
||||
.byte $00 ; 224/e0 _a`_grave__
|
||||
.byte $00 ; 225/e1 _a'_acute__
|
||||
.byte $00 ; 226/e2 _a^_circum_
|
||||
.byte $00 ; 227/e3 _a~_tilde__
|
||||
.byte $00 ; 228/e4 _a"_dieres_
|
||||
.byte $00 ; 229/e5 _a__ring___
|
||||
.byte $00 ; 230/e6 _ae________
|
||||
.byte $00 ; 231/e7 _c,cedilla_
|
||||
.byte $00 ; 232/e8 _e`_grave__
|
||||
.byte $00 ; 233/e9 _e'_acute__
|
||||
.byte $00 ; 234/ea _e^_circum_
|
||||
.byte $00 ; 235/eb _e"_dieres_
|
||||
.byte $00 ; 236/ec _i`_grave__
|
||||
.byte $00 ; 237/ed _i'_acute__
|
||||
.byte $00 ; 238/ee _i^_circum_
|
||||
.byte $00 ; 239/ef _i"_dieres_
|
||||
.byte $00 ; 240/f0 _o^x_Eth_s_
|
||||
.byte $00 ; 241/f1 _n~_tilda__
|
||||
.byte $00 ; 242/f2 _o`_grave__
|
||||
.byte $00 ; 243/f3 _o'_acute__
|
||||
.byte $00 ; 244/f4 _o^_circum_
|
||||
.byte $00 ; 245/f5 _o~_tilde__
|
||||
.byte $00 ; 246/f6 _o"_dieres_
|
||||
.byte $00 ; 247/f7 __divide___
|
||||
.byte $00 ; 248/f8 _o/_slash__
|
||||
.byte $00 ; 249/f9 _u`_grave__
|
||||
.byte $00 ; 250/fa _u'_acute__
|
||||
.byte $00 ; 251/fb _u^_circum_
|
||||
.byte $00 ; 252/fc _u"_dieres_
|
||||
.byte $00 ; 253/fd _y'_acute__
|
||||
.byte $00 ; 254/fe _sm_thorn__
|
||||
.byte $00 ; 255/ff _y"_dieres_
|
||||
|
||||
|
||||
@@ -5,26 +5,26 @@
|
||||
; void cvline (unsigned char length);
|
||||
;
|
||||
|
||||
.export _cvlinexy, _cvline
|
||||
.import popa, _gotoxy, putchar, newline
|
||||
.importzp tmp1
|
||||
.export _cvlinexy, _cvline
|
||||
.import popa, _gotoxy, putchar, newline
|
||||
.importzp tmp1
|
||||
|
||||
_cvlinexy:
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
jsr _gotoxy ; Call this one, will pop params
|
||||
pla ; Restore the length and run into _cvline
|
||||
pha ; Save the length
|
||||
jsr popa ; Get y
|
||||
jsr _gotoxy ; Call this one, will pop params
|
||||
pla ; Restore the length and run into _cvline
|
||||
|
||||
_cvline:
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #93 ; Vertical bar
|
||||
jsr putchar ; Write, no cursor advance
|
||||
jsr newline ; Advance cursor to next line
|
||||
dec tmp1
|
||||
bne L1
|
||||
L9: rts
|
||||
cmp #0 ; Is the length zero?
|
||||
beq L9 ; Jump if done
|
||||
sta tmp1
|
||||
L1: lda #93 ; Vertical bar
|
||||
jsr putchar ; Write, no cursor advance
|
||||
jsr newline ; Advance cursor to next line
|
||||
dec tmp1
|
||||
bne L1
|
||||
L9: rts
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
struct DIR {
|
||||
int fd; /* File descriptor for directory */
|
||||
int fd; /* File descriptor for directory */
|
||||
unsigned off; /* Current byte offset in directory */
|
||||
char name[16+1]; /* Name passed to opendir */
|
||||
};
|
||||
@@ -29,7 +29,7 @@ struct DIR {
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Code */
|
||||
/* Code */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ drivedone:
|
||||
; fnaddmode: Add ",m" to a filename, where "m" is passed in A
|
||||
|
||||
fncomplete:
|
||||
pha ; Save mode
|
||||
pha ; Save mode
|
||||
lda __filetype
|
||||
jsr fnaddmode ; Add the type
|
||||
pla
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
; void gotox (unsigned char x);
|
||||
;
|
||||
|
||||
.export _gotox
|
||||
.import plot
|
||||
.importzp CURS_X
|
||||
.export _gotox
|
||||
.import plot
|
||||
.importzp CURS_X
|
||||
|
||||
_gotox: sta CURS_X ; Set new position
|
||||
jmp plot ; And activate it
|
||||
_gotox: sta CURS_X ; Set new position
|
||||
jmp plot ; And activate it
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
; void gotoxy (unsigned char x, unsigned char y);
|
||||
;
|
||||
|
||||
.export _gotoxy
|
||||
.import popa, plot
|
||||
.importzp CURS_X, CURS_Y
|
||||
.export _gotoxy
|
||||
.import popa, plot
|
||||
.importzp CURS_X, CURS_Y
|
||||
|
||||
_gotoxy:
|
||||
sta CURS_Y ; Set Y
|
||||
jsr popa ; Get X
|
||||
sta CURS_X ; Set X
|
||||
jmp plot ; Set the cursor position
|
||||
sta CURS_Y ; Set Y
|
||||
jsr popa ; Get X
|
||||
sta CURS_X ; Set X
|
||||
jmp plot ; Set the cursor position
|
||||
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
; void gotoy (unsigned char y);
|
||||
;
|
||||
|
||||
.export _gotoy
|
||||
.import plot
|
||||
.importzp CURS_Y
|
||||
.export _gotoy
|
||||
.import plot
|
||||
.importzp CURS_Y
|
||||
|
||||
_gotoy: sta CURS_Y ; Set the new position
|
||||
jmp plot ; And activate it
|
||||
_gotoy: sta CURS_Y ; Set the new position
|
||||
jmp plot ; And activate it
|
||||
|
||||
|
||||
@@ -4,38 +4,38 @@
|
||||
; CBM _curunit to _cwd
|
||||
;
|
||||
|
||||
.export initcwd, devicestr
|
||||
.import curunit, __cwd
|
||||
.import pusha0, tosudiva0
|
||||
.importzp sreg, ptr1, ptr2
|
||||
.export initcwd, devicestr
|
||||
.import curunit, __cwd
|
||||
.import pusha0, tosudiva0
|
||||
.importzp sreg, ptr1, ptr2
|
||||
|
||||
.macpack generic
|
||||
.macpack generic
|
||||
|
||||
initcwd:
|
||||
lda #<__cwd
|
||||
ldx #>__cwd
|
||||
sta ptr2
|
||||
stx ptr2+1
|
||||
lda curunit
|
||||
; Fall through
|
||||
lda #<__cwd
|
||||
ldx #>__cwd
|
||||
sta ptr2
|
||||
stx ptr2+1
|
||||
lda curunit
|
||||
; Fall through
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Convert unit number in A into string representation pointed to by ptr2.
|
||||
|
||||
devicestr:
|
||||
jsr pusha0
|
||||
lda #10
|
||||
jsr tosudiva0
|
||||
ldy #0
|
||||
lda sreg
|
||||
beq @L0 ; >=10
|
||||
add #'0'
|
||||
sta (ptr2),y
|
||||
iny
|
||||
@L0: lda ptr1 ; rem
|
||||
add #'0'
|
||||
sta (ptr2),y
|
||||
iny
|
||||
lda #0
|
||||
sta (ptr2),y
|
||||
rts
|
||||
jsr pusha0
|
||||
lda #10
|
||||
jsr tosudiva0
|
||||
ldy #0
|
||||
lda sreg
|
||||
beq @L0 ; >=10
|
||||
add #'0'
|
||||
sta (ptr2),y
|
||||
iny
|
||||
@L0: lda ptr1 ; rem
|
||||
add #'0'
|
||||
sta (ptr2),y
|
||||
iny
|
||||
lda #0
|
||||
sta (ptr2),y
|
||||
rts
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 16.11.2002
|
||||
;
|
||||
; int open (const char* name, int flags, ...); /* May take a mode argument */
|
||||
; int open (const char* name, int flags, ...); /* May take a mode argument */
|
||||
;
|
||||
; Be sure to keep the value priority of closeallfiles lower than that of
|
||||
; closeallstreams (which is the high level C file I/O counterpart and must be
|
||||
@@ -58,12 +58,12 @@ next: dex
|
||||
|
||||
; Throw away any additional parameters passed through the ellipsis
|
||||
|
||||
dey ; Parm count < 4 shouldn't be needed to be...
|
||||
dey ; ...checked (it generates a c compiler warning)
|
||||
dey ; Parm count < 4 shouldn't be needed to be...
|
||||
dey ; ...checked (it generates a c compiler warning)
|
||||
dey
|
||||
dey
|
||||
beq parmok ; Branch if parameter count ok
|
||||
jsr addysp ; Fix stack, throw away unused parameters
|
||||
dey
|
||||
beq parmok ; Branch if parameter count ok
|
||||
jsr addysp ; Fix stack, throw away unused parameters
|
||||
|
||||
; Parameters ok. Pop the flags and save them into tmp3
|
||||
|
||||
|
||||
@@ -41,45 +41,45 @@ End:
|
||||
|
||||
__sys_oserrlist:
|
||||
sys_oserr_entry 1, "Too many open files"
|
||||
sys_oserr_entry 2, "File is open"
|
||||
sys_oserr_entry 3, "File not open"
|
||||
sys_oserr_entry 4, "File not found"
|
||||
sys_oserr_entry 5, "Device not present"
|
||||
sys_oserr_entry 6, "File not input"
|
||||
sys_oserr_entry 7, "File not output"
|
||||
sys_oserr_entry 8, "Filename missing"
|
||||
sys_oserr_entry 9, "Ilegal device"
|
||||
sys_oserr_entry 20, "Read error"
|
||||
sys_oserr_entry 21, "Read error"
|
||||
sys_oserr_entry 22, "Read error"
|
||||
sys_oserr_entry 23, "Read error"
|
||||
sys_oserr_entry 24, "Read error"
|
||||
sys_oserr_entry 25, "Write error"
|
||||
sys_oserr_entry 26, "Write protect on"
|
||||
sys_oserr_entry 27, "Read error"
|
||||
sys_oserr_entry 28, "Write error"
|
||||
sys_oserr_entry 29, "Disk ID mismatch"
|
||||
sys_oserr_entry 30, "Syntax error"
|
||||
sys_oserr_entry 31, "Syntax error"
|
||||
sys_oserr_entry 32, "Syntax error"
|
||||
sys_oserr_entry 33, "Syntax error (invalid file name)"
|
||||
sys_oserr_entry 34, "Syntax error (no file given)"
|
||||
sys_oserr_entry 39, "Syntax error"
|
||||
sys_oserr_entry 50, "Record not present"
|
||||
sys_oserr_entry 51, "Overflow in record"
|
||||
sys_oserr_entry 52, "File too large"
|
||||
sys_oserr_entry 60, "Write file open"
|
||||
sys_oserr_entry 61, "File not open"
|
||||
sys_oserr_entry 62, "File not found"
|
||||
sys_oserr_entry 63, "File exists"
|
||||
sys_oserr_entry 64, "File type mismatch"
|
||||
sys_oserr_entry 65, "No block"
|
||||
sys_oserr_entry 66, "Illegal track or sector"
|
||||
sys_oserr_entry 67, "Illegal system track or sector"
|
||||
sys_oserr_entry 70, "No channel"
|
||||
sys_oserr_entry 71, "Directory error"
|
||||
sys_oserr_entry 72, "Disk full"
|
||||
sys_oserr_entry 73, "DOS version mismatch"
|
||||
sys_oserr_entry 2, "File is open"
|
||||
sys_oserr_entry 3, "File not open"
|
||||
sys_oserr_entry 4, "File not found"
|
||||
sys_oserr_entry 5, "Device not present"
|
||||
sys_oserr_entry 6, "File not input"
|
||||
sys_oserr_entry 7, "File not output"
|
||||
sys_oserr_entry 8, "Filename missing"
|
||||
sys_oserr_entry 9, "Ilegal device"
|
||||
sys_oserr_entry 20, "Read error"
|
||||
sys_oserr_entry 21, "Read error"
|
||||
sys_oserr_entry 22, "Read error"
|
||||
sys_oserr_entry 23, "Read error"
|
||||
sys_oserr_entry 24, "Read error"
|
||||
sys_oserr_entry 25, "Write error"
|
||||
sys_oserr_entry 26, "Write protect on"
|
||||
sys_oserr_entry 27, "Read error"
|
||||
sys_oserr_entry 28, "Write error"
|
||||
sys_oserr_entry 29, "Disk ID mismatch"
|
||||
sys_oserr_entry 30, "Syntax error"
|
||||
sys_oserr_entry 31, "Syntax error"
|
||||
sys_oserr_entry 32, "Syntax error"
|
||||
sys_oserr_entry 33, "Syntax error (invalid file name)"
|
||||
sys_oserr_entry 34, "Syntax error (no file given)"
|
||||
sys_oserr_entry 39, "Syntax error"
|
||||
sys_oserr_entry 50, "Record not present"
|
||||
sys_oserr_entry 51, "Overflow in record"
|
||||
sys_oserr_entry 52, "File too large"
|
||||
sys_oserr_entry 60, "Write file open"
|
||||
sys_oserr_entry 61, "File not open"
|
||||
sys_oserr_entry 62, "File not found"
|
||||
sys_oserr_entry 63, "File exists"
|
||||
sys_oserr_entry 64, "File type mismatch"
|
||||
sys_oserr_entry 65, "No block"
|
||||
sys_oserr_entry 66, "Illegal track or sector"
|
||||
sys_oserr_entry 67, "Illegal system track or sector"
|
||||
sys_oserr_entry 70, "No channel"
|
||||
sys_oserr_entry 71, "Directory error"
|
||||
sys_oserr_entry 72, "Disk full"
|
||||
sys_oserr_entry 73, "DOS version mismatch"
|
||||
sys_oserr_entry 74, "Drive not ready"
|
||||
sys_oserr_sentinel "Unknown error"
|
||||
|
||||
|
||||
@@ -5,73 +5,73 @@
|
||||
; /* Map a system specific error into a system independent code */
|
||||
;
|
||||
|
||||
.include "errno.inc"
|
||||
.include "errno.inc"
|
||||
|
||||
.code
|
||||
|
||||
__osmaperrno:
|
||||
ldx #ErrTabSize
|
||||
@L1: cmp ErrTab-2,x ; Search for the error code
|
||||
beq @L2 ; Jump if found
|
||||
dex
|
||||
dex
|
||||
bne @L1 ; Next entry
|
||||
ldx #ErrTabSize
|
||||
@L1: cmp ErrTab-2,x ; Search for the error code
|
||||
beq @L2 ; Jump if found
|
||||
dex
|
||||
dex
|
||||
bne @L1 ; Next entry
|
||||
|
||||
; Code not found, return EUNKNOWN
|
||||
|
||||
lda #<EUNKNOWN
|
||||
ldx #>EUNKNOWN
|
||||
rts
|
||||
lda #<EUNKNOWN
|
||||
ldx #>EUNKNOWN
|
||||
rts
|
||||
|
||||
; Found the code
|
||||
|
||||
@L2: lda ErrTab-1,x
|
||||
ldx #$00 ; High byte always zero
|
||||
rts
|
||||
@L2: lda ErrTab-1,x
|
||||
ldx #$00 ; High byte always zero
|
||||
rts
|
||||
|
||||
.rodata
|
||||
|
||||
ErrTab:
|
||||
.byte 1, EMFILE ; Too many open files
|
||||
.byte 2, EINVAL ; File is open
|
||||
.byte 3, EINVAL ; File not open
|
||||
.byte 4, ENOENT ; File not found
|
||||
.byte 5, ENODEV ; Device not present
|
||||
.byte 6, EINVAL ; File not input
|
||||
.byte 7, EINVAL ; File not output
|
||||
.byte 8, EINVAL ; Filename missing
|
||||
.byte 9, ENODEV ; Ilegal device
|
||||
; .byte 20, ; Read error
|
||||
; .byte 21, ; Read error
|
||||
; .byte 22, ; Read error
|
||||
; .byte 23, ; Read error
|
||||
; .byte 24, ; Read error
|
||||
; .byte 25, ; Write error
|
||||
.byte 26, EACCES ; Write protect on
|
||||
; .byte 27, ; Read error
|
||||
; .byte 28, ; Write error
|
||||
; .byte 29, ; Disk ID mismatch
|
||||
; .byte 30, ; Syntax error
|
||||
; .byte 31, ; Syntax error
|
||||
; .byte 32, ; Syntax error
|
||||
.byte 33, EINVAL ; Syntax error (invalid file name)
|
||||
.byte 34, EINVAL ; Syntax error (no file given)
|
||||
; .byte 39, ; Syntax error
|
||||
; .byte 50, ; Record not present
|
||||
; .byte 51, ; Overflow in record
|
||||
; .byte 52, ; File too large
|
||||
.byte 60, EINVAL ; Write file open
|
||||
.byte 61, EINVAL ; File not open
|
||||
.byte 62, ENOENT ; File not found
|
||||
.byte 63, EEXIST ; File exists
|
||||
.byte 64, EINVAL ; File type mismatch
|
||||
; .byte 65, ; No block
|
||||
; .byte 66, ; Illegal track or sector
|
||||
; .byte 67, ; Illegal system track or sector
|
||||
.byte 70, EBUSY ; No channel
|
||||
; .byte 71, ; Directory error
|
||||
; .byte 72, ; Disk full
|
||||
; .byte 73, ; DOS version mismatch
|
||||
.byte 1, EMFILE ; Too many open files
|
||||
.byte 2, EINVAL ; File is open
|
||||
.byte 3, EINVAL ; File not open
|
||||
.byte 4, ENOENT ; File not found
|
||||
.byte 5, ENODEV ; Device not present
|
||||
.byte 6, EINVAL ; File not input
|
||||
.byte 7, EINVAL ; File not output
|
||||
.byte 8, EINVAL ; Filename missing
|
||||
.byte 9, ENODEV ; Ilegal device
|
||||
; .byte 20, ; Read error
|
||||
; .byte 21, ; Read error
|
||||
; .byte 22, ; Read error
|
||||
; .byte 23, ; Read error
|
||||
; .byte 24, ; Read error
|
||||
; .byte 25, ; Write error
|
||||
.byte 26, EACCES ; Write protect on
|
||||
; .byte 27, ; Read error
|
||||
; .byte 28, ; Write error
|
||||
; .byte 29, ; Disk ID mismatch
|
||||
; .byte 30, ; Syntax error
|
||||
; .byte 31, ; Syntax error
|
||||
; .byte 32, ; Syntax error
|
||||
.byte 33, EINVAL ; Syntax error (invalid file name)
|
||||
.byte 34, EINVAL ; Syntax error (no file given)
|
||||
; .byte 39, ; Syntax error
|
||||
; .byte 50, ; Record not present
|
||||
; .byte 51, ; Overflow in record
|
||||
; .byte 52, ; File too large
|
||||
.byte 60, EINVAL ; Write file open
|
||||
.byte 61, EINVAL ; File not open
|
||||
.byte 62, ENOENT ; File not found
|
||||
.byte 63, EEXIST ; File exists
|
||||
.byte 64, EINVAL ; File type mismatch
|
||||
; .byte 65, ; No block
|
||||
; .byte 66, ; Illegal track or sector
|
||||
; .byte 67, ; Illegal system track or sector
|
||||
.byte 70, EBUSY ; No channel
|
||||
; .byte 71, ; Directory error
|
||||
; .byte 72, ; Disk full
|
||||
; .byte 73, ; DOS version mismatch
|
||||
.byte 74, ENODEV ; Drive not ready
|
||||
|
||||
ErrTabSize = (* - ErrTab)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
; /* Convert a target specific character to ascii */
|
||||
;
|
||||
|
||||
.export _toascii
|
||||
.export _toascii
|
||||
|
||||
.macpack generic
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
; unsigned char wherex (void);
|
||||
;
|
||||
|
||||
.export _wherex
|
||||
.export _wherex
|
||||
.import CURS_X: zp
|
||||
|
||||
|
||||
.proc _wherex
|
||||
lda CURS_X
|
||||
ldx #$00
|
||||
rts
|
||||
rts
|
||||
.endproc
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
; unsigned char wherey (void);
|
||||
;
|
||||
|
||||
.export _wherey
|
||||
.export _wherey
|
||||
.import CURS_Y: zp
|
||||
|
||||
|
||||
.proc _wherey
|
||||
lda CURS_Y
|
||||
ldx #$00
|
||||
rts
|
||||
rts
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user