mirror of
https://github.com/cc65/cc65.git
synced 2024-06-09 06:29:38 +00:00
remove dangling spaces
This commit is contained in:
parent
945291fd69
commit
bfb8568a5f
|
@ -24,4 +24,4 @@ _FPUSHBACK = $08
|
||||||
; File table
|
; File table
|
||||||
.global __filetab
|
.global __filetab
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
;-------------------------------------------------------------------------
|
;-------------------------------------------------------------------------
|
||||||
; ATASCII CHARACTER DEFS
|
; ATASCII CHARACTER DEFS
|
||||||
;-------------------------------------------------------------------------
|
;-------------------------------------------------------------------------
|
||||||
|
|
||||||
ATEOL = $9B ; END-OF-LINE, used by CONIO
|
ATEOL = $9B ; END-OF-LINE, used by CONIO
|
||||||
|
|
||||||
;-------------------------------------------------------------------------
|
;-------------------------------------------------------------------------
|
||||||
|
@ -27,9 +27,9 @@ CH_VLINE = $01 ; exclamation mark
|
||||||
|
|
||||||
POKMSK = $00 ; Mask for Pokey IRQ enable
|
POKMSK = $00 ; Mask for Pokey IRQ enable
|
||||||
RTCLOK = $01 ; 60 hz. clock
|
RTCLOK = $01 ; 60 hz. clock
|
||||||
JUMP = $01
|
JUMP = $01
|
||||||
CRITIC = $03 ; Critical section
|
CRITIC = $03 ; Critical section
|
||||||
ATRACT = $04 ; Attract Mode
|
ATRACT = $04 ; Attract Mode
|
||||||
|
|
||||||
SDLSTL = $05 ; DLISTL Shadow
|
SDLSTL = $05 ; DLISTL Shadow
|
||||||
SDLSTH = $06 ; DLISTH "
|
SDLSTH = $06 ; DLISTH "
|
||||||
|
@ -66,20 +66,20 @@ SAVMSC = $1B ; pointer to screen memory (conio)
|
||||||
;-------------------------------------------------------------------------
|
;-------------------------------------------------------------------------
|
||||||
|
|
||||||
;Interrupt Vectors
|
;Interrupt Vectors
|
||||||
|
|
||||||
VIMIRQ = $0200 ; Immediate IRQ
|
VIMIRQ = $0200 ; Immediate IRQ
|
||||||
; Preset $FC03 (SYSIRQ)
|
; Preset $FC03 (SYSIRQ)
|
||||||
VVBLKI = $0202 ; Vblank immediate
|
VVBLKI = $0202 ; Vblank immediate
|
||||||
; Preset $FCB8 (SYSVBL)
|
; Preset $FCB8 (SYSVBL)
|
||||||
VVBLKD = $0204 ; Vblank deferred
|
VVBLKD = $0204 ; Vblank deferred
|
||||||
; Preset $FCB2 (XITVBL)
|
; Preset $FCB2 (XITVBL)
|
||||||
VDSLST = $0206 ; Display List
|
VDSLST = $0206 ; Display List
|
||||||
; Preset $FEA1 (OSDLI)
|
; Preset $FEA1 (OSDLI)
|
||||||
VKYBDI = $0208 ; Keyboard immediate
|
VKYBDI = $0208 ; Keyboard immediate
|
||||||
; Preset $FD02 (SYSKBD)
|
; Preset $FD02 (SYSKBD)
|
||||||
VKYBDF = $020A ; Deferred Keyboard
|
VKYBDF = $020A ; Deferred Keyboard
|
||||||
; Preset $FCB2 (XITVBL)
|
; Preset $FCB2 (XITVBL)
|
||||||
VTRIGR = $020C ; Soft Trigger
|
VTRIGR = $020C ; Soft Trigger
|
||||||
VBRKOP = $020E ; BRK Opcode
|
VBRKOP = $020E ; BRK Opcode
|
||||||
VSERIN = $0210 ; Serial in Ready
|
VSERIN = $0210 ; Serial in Ready
|
||||||
VSEROR = $0212 ; Serial Out Ready
|
VSEROR = $0212 ; Serial Out Ready
|
||||||
|
|
|
@ -76,13 +76,13 @@ DL_CHR20x8x2 = 6 ; colour (duochrome per character), 20 character
|
||||||
DL_CHR20x16x2 = 7 ; colour (duochrome per character), 20 character & 16 scanlines per mode line (GR. 2)
|
DL_CHR20x16x2 = 7 ; colour (duochrome per character), 20 character & 16 scanlines per mode line (GR. 2)
|
||||||
|
|
||||||
DL_MAP40x8x4 = 8 ; colour, 40 pixel & 8 scanlines per mode line (GR. 3)
|
DL_MAP40x8x4 = 8 ; colour, 40 pixel & 8 scanlines per mode line (GR. 3)
|
||||||
DL_MAP80x4x2 = 9 ; 'duochrome', 80 pixel & 4 scanlines per mode line (GR.4)
|
DL_MAP80x4x2 = 9 ; 'duochrome', 80 pixel & 4 scanlines per mode line (GR.4)
|
||||||
DL_MAP80x4x4 = 10 ; colour, 80 pixel & 4 scanlines per mode line (GR.5)
|
DL_MAP80x4x4 = 10 ; colour, 80 pixel & 4 scanlines per mode line (GR.5)
|
||||||
DL_MAP160x2x2 = 11 ; 'duochrome', 160 pixel & 2 scanlines per mode line (GR.6)
|
DL_MAP160x2x2 = 11 ; 'duochrome', 160 pixel & 2 scanlines per mode line (GR.6)
|
||||||
DL_MAP160x1x2 = 12 ; 'duochrome', 160 pixel & 1 scanline per mode line (GR.14)
|
DL_MAP160x1x2 = 12 ; 'duochrome', 160 pixel & 1 scanline per mode line (GR.14)
|
||||||
DL_MAP160x2x4 = 13 ; 4 colours, 160 pixel & 2 scanlines per mode line (GR.7)
|
DL_MAP160x2x4 = 13 ; 4 colours, 160 pixel & 2 scanlines per mode line (GR.7)
|
||||||
DL_MAP160x1x4 = 14 ; 4 colours, 160 pixel & 1 scanline per mode line (GR.15)
|
DL_MAP160x1x4 = 14 ; 4 colours, 160 pixel & 1 scanline per mode line (GR.15)
|
||||||
DL_MAP320x1x1 = 15 ; monochrome, 320 pixel & 1 scanline per mode line (GR.8)
|
DL_MAP320x1x1 = 15 ; monochrome, 320 pixel & 1 scanline per mode line (GR.8)
|
||||||
|
|
||||||
; modifiers on mode lines...
|
; modifiers on mode lines...
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ EMD_API_VERSION = $02
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; Driver entry points
|
; Driver entry points
|
||||||
|
|
||||||
.global emd_install
|
.global emd_install
|
||||||
.global emd_uninstall
|
.global emd_uninstall
|
||||||
.global emd_pagecount
|
.global emd_pagecount
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 16.05.2000
|
; Ullrich von Bassewitz, 16.05.2000
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
@ -135,35 +135,35 @@ STIMCTLB = $FD1F
|
||||||
TIM0BKUP = $FD00
|
TIM0BKUP = $FD00
|
||||||
TIM0CTLA = $FD01
|
TIM0CTLA = $FD01
|
||||||
TIM0CNT = $FD02
|
TIM0CNT = $FD02
|
||||||
TIM0CTLB = $FD03
|
TIM0CTLB = $FD03
|
||||||
TIM1BKUP = $FD04
|
TIM1BKUP = $FD04
|
||||||
TIM1CTLA = $FD05
|
TIM1CTLA = $FD05
|
||||||
TIM1CNT = $FD06
|
TIM1CNT = $FD06
|
||||||
TIM1CTLB = $FD07
|
TIM1CTLB = $FD07
|
||||||
TIM2BKUP = $FD08
|
TIM2BKUP = $FD08
|
||||||
TIM2CTLA = $FD09
|
TIM2CTLA = $FD09
|
||||||
TIM2CNT = $FD0A
|
TIM2CNT = $FD0A
|
||||||
TIM2CTLB = $FD0B
|
TIM2CTLB = $FD0B
|
||||||
TIM3BKUP = $FD0C
|
TIM3BKUP = $FD0C
|
||||||
TIM3CTLA = $FD0D
|
TIM3CTLA = $FD0D
|
||||||
TIM3CNT = $FD0E
|
TIM3CNT = $FD0E
|
||||||
TIM3CTLB = $FD0F
|
TIM3CTLB = $FD0F
|
||||||
TIM4BKUP = $FD10
|
TIM4BKUP = $FD10
|
||||||
TIM4CTLA = $FD11
|
TIM4CTLA = $FD11
|
||||||
TIM4CNT = $FD12
|
TIM4CNT = $FD12
|
||||||
TIM4CTLB = $FD13
|
TIM4CTLB = $FD13
|
||||||
TIM5BKUP = $FD14
|
TIM5BKUP = $FD14
|
||||||
TIM5CTLA = $FD15
|
TIM5CTLA = $FD15
|
||||||
TIM5CNT = $FD16
|
TIM5CNT = $FD16
|
||||||
TIM5CTLB = $FD17
|
TIM5CTLB = $FD17
|
||||||
TIM6BKUP = $FD18
|
TIM6BKUP = $FD18
|
||||||
TIM6CTLA = $FD19
|
TIM6CTLA = $FD19
|
||||||
TIM6CNT = $FD1A
|
TIM6CNT = $FD1A
|
||||||
TIM6CTLB = $FD1B
|
TIM6CTLB = $FD1B
|
||||||
TIM7BKUP = $FD1C
|
TIM7BKUP = $FD1C
|
||||||
TIM7CTLA = $FD1D
|
TIM7CTLA = $FD1D
|
||||||
TIM7CNT = $FD1E
|
TIM7CNT = $FD1E
|
||||||
TIM7CTLB = $FD1F
|
TIM7CTLB = $FD1F
|
||||||
|
|
||||||
; Mikey Audio
|
; Mikey Audio
|
||||||
|
|
||||||
|
|
|
@ -3,23 +3,23 @@
|
||||||
;
|
;
|
||||||
; Christian Krüger, latest change: 18-Sep-2010
|
; Christian Krüger, latest change: 18-Sep-2010
|
||||||
;
|
;
|
||||||
; This software is provided 'as-is', without any expressed or implied
|
; This software is provided 'as-is', without any expressed or implied
|
||||||
; warranty. In no event will the authors be held liable for any damages
|
; warranty. In no event will the authors be held liable for any damages
|
||||||
; arising from the use of this software.
|
; arising from the use of this software.
|
||||||
;
|
;
|
||||||
; Permission is granted to anyone to use this software for any purpose,
|
; Permission is granted to anyone to use this software for any purpose,
|
||||||
; including commercial applications, and to alter it and redistribute it
|
; including commercial applications, and to alter it and redistribute it
|
||||||
; freely, subject to the following restrictions:
|
; freely, subject to the following restrictions:
|
||||||
;
|
;
|
||||||
; 1. The origin of this software must not be misrepresented; you must not
|
; 1. The origin of this software must not be misrepresented; you must not
|
||||||
; claim that you wrote the original software. If you use this software
|
; claim that you wrote the original software. If you use this software
|
||||||
; in a product, an acknowledgment in the product documentation would be
|
; in a product, an acknowledgment in the product documentation would be
|
||||||
; appreciated but is not required.
|
; appreciated but is not required.
|
||||||
; 2. Altered source versions must be plainly marked as such, and must not
|
; 2. Altered source versions must be plainly marked as such, and must not
|
||||||
; be misrepresented as being the original software.
|
; be misrepresented as being the original software.
|
||||||
; 3. This notice may not be removed or altered from any source
|
; 3. This notice may not be removed or altered from any source
|
||||||
; distribution.
|
; distribution.
|
||||||
;
|
;
|
||||||
|
|
||||||
; Opcode-Table
|
; Opcode-Table
|
||||||
; ------------
|
; ------------
|
||||||
|
|
|
@ -17,7 +17,7 @@ FNAME_LEN = 11 ; Maximum length of file-name
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
; I/O Identifier
|
; I/O Identifier
|
||||||
; Theses identifers are used for channel management
|
; Theses identifers are used for channel management
|
||||||
;
|
;
|
||||||
|
|
||||||
XKBD = $80 ; Keyboard
|
XKBD = $80 ; Keyboard
|
||||||
XRSE = $83 ; RS232 in
|
XRSE = $83 ; RS232 in
|
||||||
|
@ -87,27 +87,27 @@ HRSFB := $57
|
||||||
VABKP1 := $58
|
VABKP1 := $58
|
||||||
|
|
||||||
; RS232T
|
; RS232T
|
||||||
; b0-b3 : speed
|
; b0-b3 : speed
|
||||||
; 1111 => 19200 bps (please note that telestrat can't handle this speed without stopping all IRQ except ACIA's one)
|
; 1111 => 19200 bps (please note that telestrat can't handle this speed without stopping all IRQ except ACIA's one)
|
||||||
; 1100 => 9600 bps (default from TELEMON)
|
; 1100 => 9600 bps (default from TELEMON)
|
||||||
; 1110 => 4800 bps
|
; 1110 => 4800 bps
|
||||||
; 1010 => 2400 bps
|
; 1010 => 2400 bps
|
||||||
; 1000 => 1200 bps
|
; 1000 => 1200 bps
|
||||||
; 0111 => 600 bps
|
; 0111 => 600 bps
|
||||||
; 0110 => 300 bps
|
; 0110 => 300 bps
|
||||||
; 0101 => 150 bps
|
; 0101 => 150 bps
|
||||||
; 0010 => 75 bps
|
; 0010 => 75 bps
|
||||||
|
|
||||||
; b4 : 0 external clock, 1 internal clock
|
; b4 : 0 external clock, 1 internal clock
|
||||||
; b6-b5 : 00 8 bits
|
; b6-b5 : 00 8 bits
|
||||||
; 01 7 bits
|
; 01 7 bits
|
||||||
; 10 6 bits
|
; 10 6 bits
|
||||||
; 11 5 bits
|
; 11 5 bits
|
||||||
; b7 : 0 a stop
|
; b7 : 0 a stop
|
||||||
|
|
||||||
RS232T := $59
|
RS232T := $59
|
||||||
|
|
||||||
; RS232C
|
; RS232C
|
||||||
; b0-b3 : 0
|
; b0-b3 : 0
|
||||||
; b4 : 1 if echo
|
; b4 : 1 if echo
|
||||||
; b5 : 1 if parity
|
; b5 : 1 if parity
|
||||||
|
@ -218,7 +218,7 @@ SCREEN := $BB80
|
||||||
|
|
||||||
; TELEMON primitives (2.4 & 3.x)
|
; TELEMON primitives (2.4 & 3.x)
|
||||||
|
|
||||||
; all values are used to call bank 7 of telestrat cardridge. It works with 'brk value'
|
; all values are used to call bank 7 of telestrat cardridge. It works with 'brk value'
|
||||||
XOP0 = $00 ; Open device on channel 0
|
XOP0 = $00 ; Open device on channel 0
|
||||||
XOP1 = $01 ; Open device on channel 1
|
XOP1 = $01 ; Open device on channel 1
|
||||||
XOP2 = $02 ; Open device on channel 2
|
XOP2 = $02 ; Open device on channel 2
|
||||||
|
@ -281,8 +281,8 @@ XWRCLK = $3E ; Displays clock in the address in A & Y registe
|
||||||
XSONPS = $40 ; Send data to PSG register (14 values)
|
XSONPS = $40 ; Send data to PSG register (14 values)
|
||||||
XOUPS = $42 ; Send Oups sound into PSG
|
XOUPS = $42 ; Send Oups sound into PSG
|
||||||
XPLAY = $43 ; Play a sound
|
XPLAY = $43 ; Play a sound
|
||||||
XSOUND = $44
|
XSOUND = $44
|
||||||
XMUSIC = $45
|
XMUSIC = $45
|
||||||
XZAP = $46 ; Send Zap sound to PSG
|
XZAP = $46 ; Send Zap sound to PSG
|
||||||
XSHOOT = $47
|
XSHOOT = $47
|
||||||
|
|
||||||
|
@ -303,13 +303,13 @@ XFWR = $4E ; Put a char on the first screen. Only available
|
||||||
; Keyboard primitives
|
; Keyboard primitives
|
||||||
XALLKB = $50 ; Read Keyboard, and populate KBDCOL
|
XALLKB = $50 ; Read Keyboard, and populate KBDCOL
|
||||||
XKBDAS = $51 ; Ascii conversion
|
XKBDAS = $51 ; Ascii conversion
|
||||||
XGOKBD = $52 ; Swap keyboard type (Qwerty, French ...)
|
XGOKBD = $52 ; Swap keyboard type (Qwerty, French ...)
|
||||||
|
|
||||||
; Buffer management
|
; Buffer management
|
||||||
XECRBU = $54 ; Write A or AY in the buffer
|
XECRBU = $54 ; Write A or AY in the buffer
|
||||||
XLISBU = $55 ; Read A or AY in the buffer
|
XLISBU = $55 ; Read A or AY in the buffer
|
||||||
XTSTBU = $56
|
XTSTBU = $56
|
||||||
XVIDBU = $57 ; Flush the buffer
|
XVIDBU = $57 ; Flush the buffer
|
||||||
XINIBU = $58 ; Initialize the buffer X
|
XINIBU = $58 ; Initialize the buffer X
|
||||||
XDEFBU = $59 ; Reset all value of the buffer
|
XDEFBU = $59 ; Reset all value of the buffer
|
||||||
XBUSY = $5A ; Test if the buffer is empty
|
XBUSY = $5A ; Test if the buffer is empty
|
||||||
|
@ -328,7 +328,7 @@ XMSAVE = $61 ; Write a file to Minitel
|
||||||
|
|
||||||
XFREE = $62 ; Only in TELEMON 3.x (bank 7 of Orix)
|
XFREE = $62 ; Only in TELEMON 3.x (bank 7 of Orix)
|
||||||
|
|
||||||
; Next Minitel primitives
|
; Next Minitel primitives
|
||||||
XWCXFI = $63 ; Wait connection
|
XWCXFI = $63 ; Wait connection
|
||||||
XLIGNE = $64 ;
|
XLIGNE = $64 ;
|
||||||
XDECON = $65 ; Minitel disconnection
|
XDECON = $65 ; Minitel disconnection
|
||||||
|
@ -340,7 +340,7 @@ XHRSSE = $8C ; Set hires position cursor
|
||||||
XDRAWA = $8D ; Draw a line absolute
|
XDRAWA = $8D ; Draw a line absolute
|
||||||
XDRAWR = $8E ; Draw a line (relative)
|
XDRAWR = $8E ; Draw a line (relative)
|
||||||
XCIRCL = $8F ; Draw a circle
|
XCIRCL = $8F ; Draw a circle
|
||||||
XCURSE = $90 ; Plot a pixel
|
XCURSE = $90 ; Plot a pixel
|
||||||
XCURMO = $91 ; Move to x,y pos in Hires
|
XCURMO = $91 ; Move to x,y pos in Hires
|
||||||
XPAPER = $92
|
XPAPER = $92
|
||||||
XINK = $93
|
XINK = $93
|
||||||
|
@ -358,8 +358,8 @@ XPING = $9D ; Send Ping sound to PSG
|
||||||
PWD_PTR = $00
|
PWD_PTR = $00
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
;
|
;
|
||||||
BUFTRV := $100
|
BUFTRV := $100
|
||||||
|
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
|
@ -377,7 +377,7 @@ TIMES := $211
|
||||||
TIMEM := $212
|
TIMEM := $212
|
||||||
TIMEH := $213
|
TIMEH := $213
|
||||||
FLGCLK := $214
|
FLGCLK := $214
|
||||||
FLGCLK_FLAG := $215
|
FLGCLK_FLAG := $215
|
||||||
FLGCUR := $216 ; Cursor management flag
|
FLGCUR := $216 ; Cursor management flag
|
||||||
; screens position managements
|
; screens position managements
|
||||||
|
|
||||||
|
@ -466,7 +466,7 @@ DESALO := $52D
|
||||||
FISALO := $52F
|
FISALO := $52F
|
||||||
EXSALO := $531
|
EXSALO := $531
|
||||||
EXTDEF := $55D ; Default extension. At the start of telemon, it's set to ".COM"
|
EXTDEF := $55D ; Default extension. At the start of telemon, it's set to ".COM"
|
||||||
BUFEDT := $590 ; Buffer edition
|
BUFEDT := $590 ; Buffer edition
|
||||||
|
|
||||||
MAX_BUFEDT_LENGTH=110
|
MAX_BUFEDT_LENGTH=110
|
||||||
|
|
||||||
|
@ -480,7 +480,7 @@ BUFBUF := $c080
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
; Stratsed vectors
|
; Stratsed vectors
|
||||||
; Stratsed is the main OS for Telestrat
|
; Stratsed is the main OS for Telestrat
|
||||||
XMERGE := $FF0E
|
XMERGE := $FF0E
|
||||||
XFST := $FF11
|
XFST := $FF11
|
||||||
XSPUT := $FF14
|
XSPUT := $FF14
|
||||||
|
@ -532,7 +532,7 @@ XPMAP := $FFA7
|
||||||
XRWTS := $FFAA
|
XRWTS := $FFAA
|
||||||
|
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
; MACRO
|
; MACRO
|
||||||
|
|
||||||
.macro BRK_TELEMON value
|
.macro BRK_TELEMON value
|
||||||
.byte $00,value
|
.byte $00,value
|
||||||
|
|
|
@ -54,7 +54,7 @@ TGI_VF_CCOUNT = (TGI_VF_LASTCHAR - TGI_VF_FIRSTCHAR + 1)
|
||||||
; Font data loaded directly from file
|
; Font data loaded directly from file
|
||||||
.struct TGI_VECTORFONT
|
.struct TGI_VECTORFONT
|
||||||
TOP .byte ; Height of char
|
TOP .byte ; Height of char
|
||||||
BOTTOM .byte ; Descender
|
BOTTOM .byte ; Descender
|
||||||
HEIGHT .byte ; Maximum char height
|
HEIGHT .byte ; Maximum char height
|
||||||
WIDTHS .byte ::TGI_VF_CCOUNT ; Char widths
|
WIDTHS .byte ::TGI_VF_CCOUNT ; Char widths
|
||||||
CHARS .word ::TGI_VF_CCOUNT ; Pointer to character defs
|
CHARS .word ::TGI_VF_CCOUNT ; Pointer to character defs
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; Struct utsname
|
; Struct utsname
|
||||||
.struct utsname
|
.struct utsname
|
||||||
sysname .byte 17
|
sysname .byte 17
|
||||||
nodename .byte 9
|
nodename .byte 9
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
.globalzp ptr1, ptr2, ptr3, ptr4
|
.globalzp ptr1, ptr2, ptr3, ptr4
|
||||||
.globalzp tmp1, tmp2, tmp3, tmp4
|
.globalzp tmp1, tmp2, tmp3, tmp4
|
||||||
.globalzp regbank
|
.globalzp regbank
|
||||||
|
|
||||||
; The size of the register bank
|
; The size of the register bank
|
||||||
regbanksize = 6
|
regbanksize = 6
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user