Remove unwanted *.lbl/*.lab/*.lst/*.atdbg

This commit is contained in:
peterdell 2018-12-30 23:59:19 +01:00
parent 28a4203b89
commit 8a74d91e66
40 changed files with 0 additions and 5778 deletions

View File

@ -1,14 +0,0 @@
xasm 3.0.1
Label table:
n eqm1
n eqm2
n 01 equate1
n 02 equate2
n 02 equate3
n 03 equate4
n 2007 inner1
n 2009 inner2
n 2000 label1
n 2002 label2
n string1
n 2007 SUBROUTINE1

View File

@ -1,39 +0,0 @@
------- FILE C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari2600\DASM\DASM-Reference-Symbols.asm LEVEL 1 PASS 2
1 200b ???? ; Reference source file for DASM symbols
2 200b ????
3 200b ???? processor 6502
4 200b ????
5 200b ???? mac m_macro
6 200b ???? m_label1
7 200b ???? lda #1
8 200b ???? endm
9 200b ????
10 200b ???? 00 01 equate1 = 1
11 200b ???? 00 02 equate2 = equate1+1
12 200b ????
13 200b ???? 00 02 equate3 EQU 2
14 200b ???? 00 03 equate4 EQU equate2+1
15 200b ????
16 200b ???? 69 6e 67 31 string1 = "testString1"
17 200b ????
18 200b ???? eqm1 eqm 123
19 200b ???? eqm2 eqm eqm1+1
20 200b ????
21 200b ???? set
22 2000 org $2000
23 2000
24 2000 label1
25 2000 a9 01 lda #1
26 2002 label2
27 2002 85 80 sta $80
28 2004
29 2004 20 07 20 jsr SUBROUTINE1
30 2007
31 2007 SUBROUTINE1 SUBROUTINE
32 2007 inner1
33 2007 a9 01 lda #1
34 2009 inner2
35 2009 85 80 sta $80
36 200b
37 200b
38 200b

View File

@ -1,15 +0,0 @@
--- Symbol List (sorted by symbol)
0000
eqm1 0000 str eqm ( S) "123"
eqm2 0000 str eqm ( S) "eqm1+1"
equate1 0001 (R )
equate2 0002 (R )
equate3 0002
equate4 0003
inner1 2007
inner2 2009
label1 2000
label2 2002
string1 696e6731 str "testString1"
SUBROUTINE1 2007 (R )
--- End of Symbol List.

View File

@ -1,163 +0,0 @@
xasm 3.0.1
Label table:
n 15 Audc0
n 16 Audc1
n 17 Audf0
n 18 Audf1
n 19 Audv0
n 1A Audv1
n 90 BottomDelay
n F000 Cart_Init
n F2F4 ChangeNote
n F343 CheckEgg
n 09 ColuBK
n 06 ColuP0
n 07 ColuP1
n 08 Colupf
n F006 Common_Init
n 0A Ctrlpf
n 06 Cxblpf
n 2C Cxclr
n 04 Cxm0fb
n 00 Cxm0p
n 05 Cxm1fb
n 01 Cxm1p
n 02 Cxp0fb
n 03 Cxp1fb
n 07 Cxppmm
n F186 D1
n 8C DelayPTR
n F01F DemoInit
n F29C DoSound
n F322 DoVoice1
n F311 DoVoice2
n F17E Down
n 9B EggMode
n 9D EggMusic
n F500 EggMusic1
n F580 EggMusic2
n F400 EggMusic3
n F480 EggMusic4
n 1F Enabl
n 1D Enam0
n 1E Enam1
n F172 EndMove
n F342 EndSound
n 9C FrameCycle
n F143 GoDown
n F121 GoLeft
n F105 GoRight
n F15D GoUp
n 1B GRP0
n 1C GRP1
n 24 Hmbl
n 2B Hmclr
n 22 Hmm0
n 23 Hmm1
n 2A HMOVE
n 20 HMP0
n 21 HMP1
n 96 HorizontalDir
n 98 HorizontalPos
n 08 Inpt0
n 09 Inpt1
n 0A Inpt2
n 0B Inpt3
n 0C Inpt4
n 0D Inpt5
n 0284 Intim
n FFFA IntVectors
n F019 IOClear
n FFFE IRQ
n F21D JNDelay
n F1CC L1
n F1D0 L2
n F1B1 Left
n 8E LoopCount
n 91 MoveCount
n F0EA MoveDelay
n F0F8 MoveHorizontal
n F0DA Movement
n F136 MoveVertical
n F09F NewScreen
n F340 NextNote
n FFFA NMI
n F360 NoEgg
n F0E6 NoReset
n 04 Nusiz0
n 05 Nusiz1
n F297 OverscanDone
n F292 OverscanLoop
n F28D OverscanStart
n 0D Pf0
n 0E Pf1
n 0F Pf2
n F1A2 R1
n F1A6 R2
n F011 RAMClear
n FF RamEnd
n 80 RamStart
n 0B Refp0
n 0C Refp1
n 14 Resbl
n FFFC Reset
n 12 Resm0
n 13 Resm1
n 28 Resmp0
n 29 Resmp1
n 10 RESP0
n 11 RESP1
n F187 Right
n FFFF RomEnd
n F000 RomStart
n 93 RotateDir
n 03 Rsync
n 80 s1
n 82 s2
n 84 s3
n 86 s4
n 88 s5
n 8A s6
n F209 ScreenStart
n F2BC SetVol1
n F2E1 SetVol1a
n F2CD SetVol2
n F2F2 SetVol2a
n 94 SkipFrame
n 9A SkipMove
n F0C3 SkipSkip
n F750 SoundCData
n F700 SoundFData
n 99 SoundQ
n F7A0 SoundVData
n FF StackBottom
n 80 StackTop
n F2FF StartSound
n 0281 Swacnt
n 0283 Swbcnt
n 0280 SWCHA
n 0282 SWCHB
n 0297 T1024t
n 92 Temp
n F00A TIAClear
n 0294 Tim1t
n 0296 Tim64t
n 0295 Tim8t
n 8F TopDelay
n F17D U1
n F175 UP
n F2AD UseSet1
n F2D2 UseSet2
n 01 Vblank
n F200 VblankLoop
n 27 Vdelbl
n 25 VdelP0
n 26 VdelP1
n 95 VerticalDir
n 97 VerticalPos
n 00 Vsync
n 02 Wsync
n F20C X1
n F213 X2
n F244 X3
n F282 X4

File diff suppressed because it is too large Load Diff

View File

@ -1,113 +0,0 @@
------- FILE C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari2600\DASM\original\demo.asm LEVEL 1 PASS 1
1 0000 ???? ;;;
2 0000 ???? ;
3 0000 ???? ; Some useful macros and techniques
4 0000 ???? ;
5 0000 ???? processor 6502
6 0000 ????
7 0000 ???? ;;;
8 0000 ???? mac hexdig
9 0000 ????
10 0000 ???? if [{1}] <= 9
11 0000 ???? dc.b '0 + [{1}]
12 0000 ???? else
13 0000 ???? dc.b 'a + [{1}] - 10
14 0000 ???? endif
15 0000 ????
16 0000 ???? endm
17 0000 ???? ;;;
18 0000 ???? mac hexnum
19 0000 ????
20 0000 ???? if [{1}] >= $10
21 0000 ???? hexnum [{1}] >> 4
22 0000 ???? endif
23 0000 ???? hexdig [{1}] & $0F
24 0000 ????
25 0000 ???? endm
26 0000 ???? ;;;
27 0000 ????
28 0000 org 0
0 0000 hexnum $123ab
1 0000
2 0000 if [$123ab] >= $10
0 0000 hexnum [$123ab] >> 4
1 0000
2 0000 if [[$123ab] >> 4] >= $10
0 0000 hexnum [[$123ab] >> 4] >> 4
1 0000
2 0000 if [[[$123ab] >> 4] >> 4] >= $10
0 0000 hexnum [[[$123ab] >> 4] >> 4] >> 4
1 0000
2 0000 if [[[[$123ab] >> 4] >> 4] >> 4] >= $10
0 0000 hexnum [[[[$123ab] >> 4] >> 4] >> 4] >> 4
1 0000
2 0000 - if [[[[[$123ab] >> 4] >> 4] >> 4] >> 4] >= $10
3 0000 - hexnum [[[[[$123ab] >> 4] >> 4] >> 4] >> 4] >> 4
4 0000 endif
0 0000 hexdig [[[[[$123ab] >> 4] >> 4] >> 4] >> 4] & $0F
1 0000
2 0000 if [[[[[[$123ab] >> 4] >> 4] >> 4] >> 4] & $0F] <= 9
3 0000 31 dc.b '0 + [[[[[[$123ab] >> 4] >> 4] >> 4] >> 4] & $0F]
4 0001 - else
5 0001 - dc.b 'a + [[[[[[$123ab] >> 4] >> 4] >> 4] >> 4] & $0F] - 10
6 0001 endif
7 0001
6 0001
4 0001 endif
0 0001 hexdig [[[[$123ab] >> 4] >> 4] >> 4] & $0F
1 0001
2 0001 if [[[[[$123ab] >> 4] >> 4] >> 4] & $0F] <= 9
3 0001 32 dc.b '0 + [[[[[$123ab] >> 4] >> 4] >> 4] & $0F]
4 0002 - else
5 0002 - dc.b 'a + [[[[[$123ab] >> 4] >> 4] >> 4] & $0F] - 10
6 0002 endif
7 0002
6 0002
4 0002 endif
0 0002 hexdig [[[$123ab] >> 4] >> 4] & $0F
1 0002
2 0002 if [[[[$123ab] >> 4] >> 4] & $0F] <= 9
3 0002 33 dc.b '0 + [[[[$123ab] >> 4] >> 4] & $0F]
4 0003 - else
5 0003 - dc.b 'a + [[[[$123ab] >> 4] >> 4] & $0F] - 10
6 0003 endif
7 0003
6 0003
4 0003 endif
0 0003 hexdig [[$123ab] >> 4] & $0F
1 0003
2 0003 - if [[[$123ab] >> 4] & $0F] <= 9
3 0003 - dc.b '0 + [[[$123ab] >> 4] & $0F]
4 0003 else
5 0003 61 dc.b 'a + [[[$123ab] >> 4] & $0F] - 10
6 0004 endif
7 0004
6 0004
4 0004 endif
0 0004 hexdig [$123ab] & $0F
1 0004
2 0004 - if [[$123ab] & $0F] <= 9
3 0004 - dc.b '0 + [[$123ab] & $0F]
4 0004 else
5 0004 62 dc.b 'a + [[$123ab] & $0F] - 10
6 0005 endif
7 0005
6 0005
30 0005
31 0005 ;;;;
32 0005 ;
33 0005 ; Using an uninitialised segment to create C-like 'struct's.
34 0005 ; (idea taken from IBM-370 assembler style "dummy segments")
35 0005
36 U0000 ???? seg.u node
37 U0000 org 0
38 U0000
39 U0000 00 00 s_next ds.b 2 ; a node has a pointer to the next one
40 U0002 00 00 s_data ds.b 2 ; and 2 bytes of data
41 U0004 00 00 00 s_more ds.b 3 ; and 3 bytes of something more
42 U0007
43 0000 ???? seg code
44 0000 ????
45 0000 ???? 00 2a ptr equ 42 ; dummy value
C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari2600\DASM\original\demo.asm (46): error: Origin Reverse-indexed.
Aborting assembly

View File

@ -1,294 +0,0 @@
------- FILE C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari2600\DASM\original\example.asm LEVEL 1 PASS 3
1 10000 ????
2 10000 ???? ; EXAMPLE.ASM (6502 Microprocessor)
3 10000 ???? ;
4 10000 ????
5 10000 ???? processor 6502
6 10000 ????
7 10000 ???? mac ldax
8 10000 ???? lda [{1}]
9 10000 ???? ldx [{1}]+1
10 10000 ???? endm
11 10000 ???? mac ldaxi
12 10000 ???? lda #<[{1}]
13 10000 ???? ldx #>[{1}]
14 10000 ???? endm
15 10000 ???? mac stax
16 10000 ???? sta [{1}]
17 10000 ???? stx [{1}]+1
18 10000 ???? endm
19 10000 ???? mac pushxy
20 10000 ???? txa
21 10000 ???? pha
22 10000 ???? tya
23 10000 ???? pha
24 10000 ???? endm
25 10000 ???? mac popxy
26 10000 ???? pla
27 10000 ???? tay
28 10000 ???? pla
29 10000 ???? tax
30 10000 ???? endm
31 10000 ???? mac inc16
32 10000 ???? inc {1}
33 10000 ???? bne .1
34 10000 ???? inc {1}+1
35 10000 ???? .1
36 10000 ???? endm
37 10000 ????
38 10000 ???? 00 00 STOP1 equ %00000000 ;CxCTL 1 Stop bit
39 10000 ???? 00 80 STOP2 equ %10000000 ;CxCTL 2 Stop bits (WL5:1.5, WL8&par:1)
40 10000 ???? 00 60 WL5 equ %01100000 ;CxCTL Wordlength
41 10000 ???? 00 40 WL6 equ %01000000
42 10000 ???? 00 20 WL7 equ %00100000
43 10000 ???? 00 00 WL8 equ %00000000
44 10000 ???? 00 10 RCS equ %00010000 ;CxCTL 1=Select baud, 0=ext. receiver clk
45 10000 ????
46 10000 ???? 00 00 B76800 equ %0000 ;CxCTL Baud rates (1.2288 Mhz clock)
47 10000 ???? 00 01 B75 equ %0001
48 10000 ???? 00 02 B100 equ %0010
49 10000 ???? 00 03 B150 equ %0011
50 10000 ???? 00 04 B200 equ %0100
51 10000 ???? 00 05 B300 equ %0101
52 10000 ???? 00 06 B400 equ %0110
53 10000 ???? 00 07 B600 equ %0111
54 10000 ???? 00 08 B800 equ %1000
55 10000 ???? 00 09 B1200 equ %1001
56 10000 ???? 00 0a B1600 equ %1010
57 10000 ???? 00 0b B2400 equ %1011
58 10000 ???? 00 0c B3200 equ %1100
59 10000 ???? 00 0d B4800 equ %1101
60 10000 ???? 00 0e B6400 equ %1110
61 10000 ???? 00 0f B12800 equ %1111
62 10000 ????
63 10000 ???? 00 20 PARODD equ %00100000 ;CxCMD Select Parity
64 10000 ???? 00 60 PAREVEN equ %01100000
65 10000 ???? 00 a0 PARMARK equ %10100000
66 10000 ???? 00 e0 PARSPACE equ %11100000
67 10000 ???? 00 00 PAROFF equ %00000000
68 10000 ????
69 10000 ???? 00 10 RECECHO equ %00010000 ;CxCMD Receiver Echo mode
70 10000 ???? 00 0c TMASK equ %00001100
71 10000 ???? 00 00 TDISABLE equ %00000000 ;CxCMD Transmitter modes
72 10000 ???? 00 08 TDISABLER equ %00001000 ;RTS stays asserted
73 10000 ???? 00 04 TENABLE equ %00000100
74 10000 ???? 00 0c TBREAK equ %00001100 ;send break
75 10000 ????
76 10000 ???? 00 02 UA_IRQDSBL equ %00000010
77 10000 ???? 00 01 DTRRDY equ %00000001 ;~DTR output is inverted (low)
78 10000 ????
79 10000 ???? 00 01 SR_PE equ %00000001 ;CxSTAT Status
80 10000 ???? 00 02 SR_FE equ %00000010 ;NOTE: writing dummy data causes RESET
81 10000 ???? 00 04 SR_OVRUN equ %00000100
82 10000 ???? 00 08 SR_RDRFULL equ %00001000
83 10000 ???? 00 10 SR_TDREMPTY equ %00010000
84 10000 ???? 00 20 SR_DCD equ %00100000
85 10000 ???? 00 40 SR_DSR equ %01000000
86 10000 ???? 00 80 SR_INTPEND equ %10000000
87 10000 ????
88 10000 ????
89 10000 ???? 00 80 T1_OEPB7 equ %10000000 ;x_ACR
90 10000 ???? 00 40 T1_FREERUN equ %01000000 ;T1 free running mode
91 10000 ???? 00 00 T1_ONESHOT equ %00000000
92 10000 ???? 00 20 T2_ICPB6 equ %00100000 ;T2 counts pulses on PB6
93 10000 ???? 00 00 T2_ONESHOT equ %00000000 ;T2 counts phase2 transitions
94 10000 ???? 00 00 SRC_OFF equ %00000000 ;shift register control
95 10000 ???? 00 04 SRC_INT2 equ %00000100
96 10000 ???? 00 08 SRC_INPH2 equ %00001000
97 10000 ???? 00 0c SRC_INEXT equ %00001100
98 10000 ???? 00 10 SRC_OUTFR equ %00010000 ;free running output using T2
99 10000 ???? 00 14 SRC_OUTT2 equ %00010100
100 10000 ???? 00 18 SRC_OUTPH2 equ %00011000
101 10000 ???? 00 1c SRC_OUTEXT equ %00011100
102 10000 ???? 00 02 PBLE equ %00000010 ;on CB1 transition (in/out).
103 10000 ???? 00 01 PALE equ %00000001 ;on CA1 transition (in). data retained
104 10000 ????
105 10000 ???? ;x_PCR
106 10000 ???? 00 00 CB2_I_NEG equ %00000000 ;interrupt on neg trans, r/w ORB clears
107 10000 ???? 00 20 CB2_I_NEGI equ %00100000 ; same, but r/w ORB does not clear int
108 10000 ???? 00 40 CB2_I_POS equ %01000000 ;interrupt on pos trans, r/w ORB clears
109 10000 ???? 00 60 CB2_I_POSI equ %01100000 ; same, but r/w ORB does not clear int
110 10000 ???? 00 80 CB2_O_HSHAK equ %10000000 ;CB2=0 on r/w ORB, CB2=1 on CB1 transition
111 10000 ???? 00 a0 CB2_O_PULSE equ %10100000 ;CB2=0 for one clock after r/w ORB
112 10000 ???? 00 c0 CB2_O_MANLO equ %11000000 ;CB2=0
113 10000 ???? 00 e0 CB2_O_MANHI equ %11100000 ;CB2=1
114 10000 ????
115 10000 ???? 00 00 CA2_I_NEG equ %00000000 ;interrupt on neg trans, r/w ORA clears
116 10000 ???? 00 20 CA2_I_NEGI equ %00100000 ; same, but r/w ORA does not clear int
117 10000 ???? 00 40 CA2_I_POS equ %01000000 ;interrupt on pos trans, r/w ORA clears
118 10000 ???? 00 60 CA2_I_POSI equ %01100000 ; same, but r/w ORA does not clear int
119 10000 ???? 00 80 CA2_O_HSHAK equ %10000000 ;CA2=0 on r/w ORA, CA2=1 on CA1 transition
120 10000 ???? 00 a0 CA2_O_PULSE equ %10100000 ;CA2=0 for one clock after r/w ORA
121 10000 ???? 00 c0 CA2_O_MANLO equ %11000000 ;CA2=0
122 10000 ???? 00 e0 CA2_O_MANHI equ %11100000 ;CA2=1
123 10000 ????
124 10000 ????
125 10000 ???? 00 10 CB1_THI equ %00010000
126 10000 ???? 00 00 CB1_TLO equ %00000000
127 10000 ???? 00 01 CA1_THI equ %00000001
128 10000 ???? 00 00 CA1_TLO equ %00000000
129 10000 ????
130 10000 ???? 00 80 VIRPEND equ %10000000 ;x_IFR
131 10000 ???? 00 80 IRENABLE equ %10000000 ;x_IER 1's enable ints 0=no change
132 10000 ???? 00 00 IRDISABLE equ %00000000 ;x_IER 1's disable ints 0=no change
133 10000 ????
134 10000 ???? 00 40 IRT1 equ %01000000
135 10000 ???? 00 20 IRT2 equ %00100000
136 10000 ???? 00 10 IRCB1 equ %00010000
137 10000 ???? 00 08 IRCB2 equ %00001000
138 10000 ???? 00 04 IRSR equ %00000100
139 10000 ???? 00 02 IRCA1 equ %00000010
140 10000 ???? 00 01 IRCA2 equ %00000001
141 10000 ????
142 Uc010 ???? seg.u bss
143 U0000 org $0000 ;RAM (see below)
144 U2000 org $2000 ;unused
145 U4000 org $4000 ;unused
146 U4000
147 U6000 org $6000 ;6551 CHANNEL #1
148 U6000 00 C1DATA ds 1
149 U6001 00 C1STAT ds 1
150 U6002 00 C1CMD ds 1
151 U6003 00 C1CTL ds 1
152 U6004
153 U8000 org $8000 ;6551 CHANNEL #2
154 U8000 00 C2DATA ds 1
155 U8001 00 C2STAT ds 1
156 U8002 00 C2CMD ds 1
157 U8003 00 C2CTL ds 1
158 U8004
159 Ua000 org $A000 ;6522 (HOST COMM)
160 Ua000 00 H_ORB ds 1
161 Ua001 00 H_ORAHS ds 1 ;with CA2 handshake
162 Ua002 00 H_DDRB ds 1
163 Ua003 00 H_DDRA ds 1
164 Ua004 00 H_T1CL ds 1 ;read clears interrupt flag
165 Ua005 00 H_T1CH ds 1 ;write clears interrupt flag
166 Ua006 00 H_T1CLL ds 1
167 Ua007 00 H_T1CHL ds 1 ;write clears interrupt flag
168 Ua008 00 H_T2CL ds 1 ;read clears interrupt flag
169 Ua009 00 H_T2CH ds 1 ;write clears interrupt flag
170 Ua00a 00 H_SR ds 1
171 Ua00b 00 H_ACR ds 1
172 Ua00c 00 H_PCR ds 1
173 Ua00d 00 H_IFR ds 1
174 Ua00e 00 H_IER ds 1
175 Ua00f 00 H_ORA ds 1 ;no CA2 handshake
176 Ua010
177 Uc000 org $C000 ;6522 (IO COMM)
178 Uc000 00 I_ORB ds 1
179 Uc001 00 I_ORAHS ds 1 ; (same comments apply)
180 Uc002 00 I_DDRB ds 1
181 Uc003 00 I_DDRA ds 1
182 Uc004 00 I_T1CL ds 1
183 Uc005 00 I_T1CH ds 1
184 Uc006 00 I_T1CLL ds 1
185 Uc007 00 I_T1CHL ds 1
186 Uc008 00 I_T2CL ds 1
187 Uc009 00 I_T2CH ds 1
188 Uc00a 00 I_SR ds 1
189 Uc00b 00 I_ACR ds 1
190 Uc00c 00 I_PCR ds 1
191 Uc00d 00 I_IFR ds 1
192 Uc00e 00 I_IER ds 1
193 Uc00f 00 I_ORA ds 1
194 Uc010
195 Uc010
196 Uc010
197 Uc010 ; -------------------------- ZERO PAGE -------------------
198 U0100 ???? seg.u data
199 U0000 org $00
200 U0000
201 U0000 ; -------------------------- NORMAL RAM -------------------
202 U0100 org $0100
203 U0100
204 U0100 20 00 RAMEND equ $2000
205 U0100
206 U0100 ; -------------------------- CODE -------------------
207 U0100
208 f076 ???? seg code
209 f000 org $F000
210 f000 f0 00 PROMBEG equ .
211 f000
212 f000 RESET subroutine
213 f000 78 sei ;disable interrupts
214 f001 a2 ff ldx #$FF ;reset stack
215 f003 9a txs
216 f004
217 f004 a9 ff lda #$FF
218 f006 8d 03 a0 sta H_DDRA
219 f009 8d 00 00 sta C1STAT2 ;reset 6551#1 (garbage data)
220 f00c 8d 01 80 sta C2STAT ;reset 6551#2
221 f00f a9 7f lda #$7F ;disable all 6522 interrupts
222 f011 8d 0e a0 sta H_IER
223 f014 8d 0e c0 sta I_IER
224 f017
225 f017 a9 10 lda #%00010000 ;76.8 baud, 8 bits, 1 stop
226 f019 8d 03 60 sta C1CTL
227 f01c a9 05 lda #%00000101 ;no parity, enable transmitter & int
228 f01e 8d 02 60 sta C1CMD
229 f021 a9 aa lda #$AA ;begin transmision
230 f023 8d 00 60 sta C1DATA
231 f026
232 f026 a9 1f lda #%00011111 ;9600 baud, 8 bits, 1 stop
233 f028 8d 03 80 sta C2CTL
234 f02b a9 05 lda #%00000101
235 f02d 8d 02 80 sta C2CMD
236 f030 a9 41 lda #$41
237 f032 8d 00 80 sta C2DATA
238 f035
239 f035 58 cli ;enable interrupts
240 f036
241 f036 20 3f f0 .1 jsr LOAD
242 f039 20 49 f0 jsr SAVE
243 f03c 4c 36 f0 jmp .1
244 f03f
245 f03f LOAD subroutine
246 f03f
247 f03f a2 00 ldx #0
248 f041 8a .1 txa
249 f042 9d 00 05 sta $0500,x
250 f045 e8 inx
251 f046 d0 f9 bne .1
252 f048 60 rts
253 f049
254 f049 SAVE subroutine
255 f049
256 f049 a2 00 ldx #0
257 f04b bd 00 05 .2 lda $0500,x
258 f04e 8d 0f a0 sta H_ORA
259 f051 e8 inx
260 f052 d0 f7 bne .2
261 f054 60 rts
262 f055
263 f055 40 NMI rti
264 f056
265 f056 subroutine
266 f056 2c 01 60 IRQ bit C1STAT
267 f059 10 0b bpl .1
268 f05b 48 pha
269 f05c a9 aa lda #$AA
270 f05e 8d 00 60 sta C1DATA
271 f061 ad 00 60 lda C1DATA
272 f064 68 pla
273 f065 40 rti
274 f066 2c 01 80 .1 bit C2STAT
275 f069 10 0a bpl .2
276 f06b 48 pha
277 f06c a9 41 lda #$41
278 f06e 8d 00 80 sta C2DATA
279 f071 ad 00 80 lda C2DATA
280 f074 68 pla
281 f075 40 .2 rti
282 f076
283 f076 ; VECTOR ------------------------------------------------
284 f076
285 10000 ???? seg vector
286 fffa org $FFFA
287 fffa 55 f0 dc.w NMI
288 fffc 00 f0 dc.w RESET
289 fffe 56 f0 dc.w IRQ
290 10000
291 10000 00 01 00 00 PROMEND equ .
292 10000
293 10000

View File

@ -1,208 +0,0 @@
------- FILE C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari2600\DASM\original\suite6502.asm LEVEL 1 PASS 1
1 0000 ????
2 0000 ???? ; TEST ADDRESSING MODES
3 0000 ????
4 0000 ???? processor 6502
5 0000 ????
6 0000 org 0
7 0000
8 0000 69 01 adc #1
9 0002 65 01 adc 1
10 0004 75 01 adc 1,x
11 0006 79 01 00 adc 1,y ;absolute
12 0009 6d e8 03 adc 1000
13 000c 7d e8 03 adc 1000,x
14 000f 79 e8 03 adc 1000,y
15 0012 61 01 adc (1,x)
16 0014 71 01 adc (1),y
17 0016
18 0016 29 01 and #1
19 0018 25 01 and 1
20 001a 35 01 and 1,x
21 001c 39 01 00 and 1,y ;absolute
22 001f 2d e8 03 and 1000
23 0022 3d e8 03 and 1000,x
24 0025 39 e8 03 and 1000,y
25 0028 21 01 and (1,x)
26 002a 31 01 and (1),y
27 002c
28 002c 0a asl
29 002d 06 01 asl 1
30 002f 16 01 asl 1,x
31 0031 0e e8 03 asl 1000
32 0034 1e e8 03 asl 1000,x
33 0037
34 0037 90 fe bcc .
35 0039 b0 fe bcs .
36 003b f0 fe beq .
37 003d 24 01 bit 1
38 003f 2c e8 03 bit 1000
39 0042 30 fe bmi .
40 0044 d0 fe bne .
41 0046 10 fe bpl .
42 0048 00 brk
43 0049 50 fe bvc .
44 004b 70 fe bvs .
45 004d 18 clc
46 004e d8 cld
47 004f 58 cli
48 0050 b8 clv
49 0051
50 0051 c9 01 cmp #1
51 0053 c5 01 cmp 1
52 0055 d5 01 cmp 1,x
53 0057 d9 01 00 cmp 1,y ;absolute
54 005a cd e8 03 cmp 1000
55 005d dd e8 03 cmp 1000,x
56 0060 d9 e8 03 cmp 1000,y
57 0063 c1 01 cmp (1,x)
58 0065 d1 01 cmp (1),y
59 0067
60 0067 e0 01 cpx #1
61 0069 e4 01 cpx 1
62 006b ec e8 03 cpx 1000
63 006e
64 006e c0 01 cpy #1
65 0070 c4 01 cpy 1
66 0072 cc e8 03 cpy 1000
67 0075
68 0075 c6 01 dec 1
69 0077 d6 01 dec 1,x
70 0079 ce e8 03 dec 1000
71 007c de e8 03 dec 1000,x
72 007f
73 007f ca dex
74 0080 88 dey
75 0081
76 0081 49 01 eor #1
77 0083 45 01 eor 1
78 0085 55 01 eor 1,x
79 0087 59 01 00 eor 1,y ;absolute
80 008a 4d e8 03 eor 1000
81 008d 5d e8 03 eor 1000,x
82 0090 59 e8 03 eor 1000,y
83 0093 41 01 eor (1,x)
84 0095 51 01 eor (1),y
85 0097
86 0097 e6 01 inc 1
87 0099 f6 01 inc 1,x
88 009b ee e8 03 inc 1000
89 009e fe e8 03 inc 1000,x
90 00a1
91 00a1 e8 inx
92 00a2 c8 iny
93 00a3
94 00a3 4c 01 00 jmp 1 ;absolute
95 00a6 4c e8 03 jmp 1000
96 00a9 6c 01 00 jmp (1) ;absolute
97 00ac 6c e8 03 jmp (1000)
98 00af
99 00af 20 01 00 jsr 1 ;absolute
100 00b2 20 e8 03 jsr 1000
101 00b5
102 00b5 a9 01 lda #1
103 00b7 a5 01 lda 1
104 00b9 b5 01 lda 1,x
105 00bb b9 01 00 lda 1,y ;absolute
106 00be ad e8 03 lda 1000
107 00c1 bd e8 03 lda 1000,x
108 00c4 b9 e8 03 lda 1000,y
109 00c7 a1 01 lda (1,x)
110 00c9 b1 01 lda (1),y
111 00cb
112 00cb a2 01 ldx #1
113 00cd a6 01 ldx 1
114 00cf b6 01 ldx 1,y
115 00d1 ae e8 03 ldx 1000
116 00d4 be e8 03 ldx 1000,y
117 00d7
118 00d7 a0 01 ldy #1
119 00d9 a4 01 ldy 1
120 00db b4 01 ldy 1,x
121 00dd ac e8 03 ldy 1000
122 00e0 bc e8 03 ldy 1000,x
123 00e3
124 00e3 4a lsr
125 00e4 46 01 lsr 1
126 00e6 56 01 lsr 1,x
127 00e8 4e e8 03 lsr 1000
128 00eb 5e e8 03 lsr 1000,x
129 00ee
130 00ee ea nop
131 00ef
132 00ef 09 01 ora #1
133 00f1 05 01 ora 1
134 00f3 15 01 ora 1,x
135 00f5 19 01 00 ora 1,y ;absolute
136 00f8 0d e8 03 ora 1000
137 00fb 1d e8 03 ora 1000,x
138 00fe 19 e8 03 ora 1000,y
139 0101 01 01 ora (1,x)
140 0103 11 01 ora (1),y
141 0105
142 0105 48 pha
143 0106 08 php
144 0107 68 pla
145 0108 28 plp
146 0109
147 0109 2a rol
148 010a 26 01 rol 1
149 010c 36 01 rol 1,x
150 010e 2e e8 03 rol 1000
151 0111 3e e8 03 rol 1000,x
152 0114
153 0114 6a ror
154 0115 66 01 ror 1
155 0117 76 01 ror 1,x
156 0119 6e e8 03 ror 1000
157 011c 7e e8 03 ror 1000,x
158 011f
159 011f 40 rti
160 0120 60 rts
161 0121
162 0121 e9 01 sbc #1
163 0123 e5 01 sbc 1
164 0125 f5 01 sbc 1,x
165 0127 f9 01 00 sbc 1,y ;absolute
166 012a ed e8 03 sbc 1000
167 012d fd e8 03 sbc 1000,x
168 0130 f9 e8 03 sbc 1000,y
169 0133 e1 01 sbc (1,x)
170 0135 f1 01 sbc (1),y
171 0137
172 0137 38 sec
173 0138 f8 sed
174 0139 78 sei
175 013a
176 013a 85 01 sta 1
177 013c 95 01 sta 1,x
178 013e 99 01 00 sta 1,y ;absolute
179 0141 8d e8 03 sta 1000
180 0144 9d e8 03 sta 1000,x
181 0147 99 e8 03 sta 1000,y
182 014a 81 01 sta (1,x)
183 014c 91 01 sta (1),y
184 014e
185 014e 86 01 stx 1
186 0150 96 01 stx 1,y
187 0152 8e e8 03 stx 1000
188 0155
189 0155 84 01 sty 1
190 0157 94 01 sty 1,x
191 0159 8c e8 03 sty 1000
192 015c
193 015c aa tax
194 015d a8 tay
195 015e ba tsx
196 015f 8a txa
197 0160 9a txs
198 0161 98 tya
199 0162
200 0162 ; illegal opcode additions
201 0162
202 0162 b3 01 lax (1),y
203 0164 04 00 nop 0
204 0166
205 0166
206 0166
207 0166

View File

@ -1,2 +0,0 @@
mads 1.9.2 build 21 (21 Jan 11)
Label table:

View File

@ -1,4 +0,0 @@
xasm 3.0.1
Label table:
n 2005 LOOP
n 2000 START

View File

@ -1,2 +0,0 @@
mads 1.9.3 build 49 (31 Jul 11)
Label table:

View File

@ -1,2 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Label table:

View File

@ -1,2 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Label table:

View File

@ -1,104 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Example-Outline.asm
1 ; Example source file for MADS
2
3 = 0001 newlabel = 1
4 = D01A colbak = $d01a ;Background color
5 = 0007 mode = 1+2*3 ;Test mode
6
7 ORG $1000 ;First implementation section
8
9 ; Support for hyperlink navigation to source includes, optionally without default extension
10 ; Absolute and relative file paths are supported.
11 ICL "include/MADS-Reference-Source-Include.asm" ;Source include
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include.asm
1 ; Test
2 .proc unusedproc ;Unused procedure
3 FFFF> 1000-1000> EA nop
4 .endp
5
6 1001 org $2000
7 2000 included
8 2000-2003> 4C 00 00 jmp unknownIncludeLabel
9
10
12 2003 ICL "include/MADS-Reference-Source-Include" ;Source include without default extension
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include.asm
1 ; Test
2 2003 .proc unusedproc ;Unused procedure
3 2003 EA nop
4 .endp
5
6 2004 org $2000
7 2000 included
8 2000-2002> 4C 00 00 jmp unknownIncludeLabel
9
10
13
14 ;
15 ;; Support for hyperlink navigation to binary includes.
16 ;; Absolute and relative file paths are supported.
17 ; INS "include/MADS-Reference-Binary-Include.bin" ;Binary include
18 ; .GET "include/MADS-Reference-Binary-Include.bin";Binary get
19 ; .SAV "include/MADS-Reference-Binary-Output.bin",100 ;Binary save
20 ;
21 ;;---------------------------------------------------------------
22 ; .ENUM portb ;Enum definition
23 ;rom = $ff ;Activate ROM
24 ;ram = $fe ;Activate RAM
25 ; .ENDE
26 ;
27 ;;---------------------------------------------------------------
28 ; .STRUCT element ;Structure definition
29 ;index .byte ;Index of element
30 ;address .word ;Address of element
31 ; .ENDS
32 ;
33 ;;---------------------------------------------------------------
34 ; .MACRO macro ;Macro definition
35 ;inmacro ; Label in macro definition
36 ; .ENDM
37 ;
38 ;;---------------------------------------------------------------
39 ; .IF SWITCH=1
40 ;
41 ;local .LOCAL ;Local section
42 ;inlocal ;Local in local section
43 ; .ENDL
44 ;
45 ;pages .PAGES ;Pages section
46 ; .ENDPG
47 ;
48 ; .PROC proc ;Procedure definition
49 ;
50 ; .PROC inproc
51 ;
52 ; .MACRO innermacro
53 ; .ENDM
54 ;
55 ; .ENDP
56 ;
57 ; .ENDP
58 ;
59 ;repeat .REPT 1 ;Repeat section
60 ; .ENDR
61 ;
62 ; .ENDIF
63 ;
64 ;;---------------------------------------------------------------
65 ;
66 ;; Support for hyperlink navigation to labels, equates,
67 ;; local definitions, macro definitions and procedure definitions.
68 ;
69 ; ORG $2000 ;Second implementation section
70 ;code jmp main ;Code label
71 ;
72 ;main jsr proc ;Label
73 ; lda #0
74 ; sta colbak ;Equate
75 ; macro ;Macro definition
76 ; jsr innerproc ;Prodcure definition from include file
77 ; jsr jac ;Ambigous intifier
78 ;
79 ;
80

View File

@ -1,7 +0,0 @@
.sourcemode on
.echo
.echo "Loading executable..."
.echo
bc *
.onexerun .echo "Launching executable..."
bp `C:\Users\D025328\Documents\Eclipse\workspace.ext\net.sourceforge.atari-action\JAC\compiler\COMPILER-DEF.asm:177`

View File

@ -1,18 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Label table:
00 0001 EQUATE
FFFA 0000 EXTERN
FFFB 0000 SDX
FFF8 0001 LABEL2
FFFD 0000 ENUM
FFFA 0001 EXTERN
01 1003 LOCAL1
01 1003 LOCAL2
01 1006 PROC1
01 1006 PROC2
01 1006 REPEAT1
01 1006 REPEAT2
FFFE 0000 STRUCT1
FFFE 0001 STRUCT2
01 10DC VAR1
01 0080 VAR2

View File

@ -1,18 +0,0 @@
xasm 3.0.1
Label table:
n 01 EQUATE
n 00 EXTERN
n 00 SDX
n 01 LABEL2
n 00 ENUM
n 01 EXTERN
n 1003 LOCAL1
n 1003 LOCAL2
n 1006 PROC1
n 1006 PROC2
n 1006 REPEAT1
n 1006 REPEAT2
n 00 STRUCT1
n 01 STRUCT2
n 10DC VAR1
n 80 VAR2

View File

@ -1,371 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Compiling.asm
1 ; Reference source file for MADS
2
3 ; Single line comment
4 // Single line comment
5 * Single line comment
6
7 /*
8 Multiple lines comment
9 */
9
10
11 ORG $1000
12 OPT c+
13
14 ; 6502 Opcodes
15 FFFF> 1000-108D> 69 01 ADC #1
16 1002 29 01 AND #1
17 1004 0A ASL
18 1005 90 FE BCC *
19 1007 B0 FE BCS *
20 1009 F0 FE BEQ *
21 100B 24 01 BIT 1
22 100D 30 FE BMI *
23 100F D0 FE BNE *
24 1011 10 FE BPL *
25 1013 00 BRK
26 1014 50 FE BVC *
27 1016 70 FE BVS *
28 1018 18 CLC
29 1019 D8 CLD
30 101A 58 CLI
31 101B B8 CLV
32 101C C9 01 CMP #1
33 101E E0 01 CPX #1
34 1020 C0 01 CPY #1
35 1022 C6 01 DEC 1
36 1024 CA DEX
37 1025 88 DEY
38 1026 49 01 EOR #1
39 1028 E6 01 INC 1
40 102A E8 INX
41 102B C8 INY
42 102C 4C 2C 10 JMP *
43 102F 20 2F 10 JSR *
44 1032 A9 01 LDA #1
45 1034 A2 01 LDX #1
46 1036 A0 01 LDY #1
47 1038 4A LSR
48 1039 EA NOP
49 103A 09 01 ORA #1
50 103C 48 PHA
51 103D 08 PHP
52 103E 68 PLA
53 103F 28 PLP
54 1040 2A ROL
55 1041 6A ROR
56 1042 40 RTI
57 1043 60 RTS
58 1044 E9 01 SBC #1
59 1046 38 SEC
60 1047 F8 SED
61 1048 78 SEI
62 1049 85 01 STA 1
63 104B 86 01 STX 1
64 104D 84 01 STY 1
65 104F AA TAX
66 1050 A8 TAY
67 1051 BA TSX
68 1052 8A TXA
69 1053 9A TXS
70
71 ; 65816 opcodes
72 1054 80 FE BRA *
73 1056 82 FD FF BRL *
74 1059 02 01 COP #1
75 105B 3A DEA
76 105C 1A INA
77 105D 5C 5D 10 00 JML *
78 1061 22 61 10 00 JSL *
79 1065 54 01 01 MVN 1,1
80 1068 44 01 01 MVP 1,1
81 106B 62 FD FF PEA *
82 // PEI * ; ?MISSING iN MADS?
83 106E 8B PHB
84 106F 0B PHD
85 1070 4B PHK
86 1071 DA PHX
87 1072 5A PHY
88 1073 AB PLB
89 1074 2B PLD
90 1075 FA PLX
91 1076 7A PLY
92 1077 C2 01 REP #1
93 1079 6B RTL
94 107A E2 01 SEP #1
95 107C DB STP
96 107D 64 01 STZ 1
97 107F 5B TCD
98 1080 1B TCS
99 1081 7B TDC
100 1082 14 01 TRB 1
101 1084 04 01 TSB 1
102 1086 3B TSC
103 1087 9B TXY
104 1088 BB TYX
105 1089 CB WAI
106 108A 42 WDM
107 108B EB XBA
108 108C FB XCE
109
110
111 ; Illegal opcodes
112
113 ; XASM Directives also supported by MADS
114 108D 01 DTA 1
115 IFT 1
116 ELI
117 ELS
118 EIF
119 ; END
120
121 = 0001 equate EQU 1
122 ;; ERT "Test Error ", 2
123 108E ICL "include/MADS-Reference-Source-Include-Compiling.asm"
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include-Compiling.asm
1 ; Test
2
3 .print "Included"
3 Included
4
5
6
124 108E ICL "include/MADS-Reference-Source-Include-Compiling"
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include-Compiling.asm
1 ; Test
2
3 .print "Included"
3 Included
4
5
6
125
126 02E2-02E3> 8E 10 INI *
127 108E-148D> 00 00 00 00 + INS "include/MADS-Reference-Binary-Include.bin"
128 OPT
129 148E ORG *
130 02E0-02E1> 8E 14 RUN *
131
132 ; XASM Pseudo Opcodes also supported by MADS
133 148E-14ED> 18 69 01 ADD #1
134 1491 E6 01 D0 02 E6 02 INW 1
135 1497 90 FE JCC *
136 1499 B0 FE JCS *
137 149B F0 FE JEQ *
138 149D 30 FE JMI *
139 149F D0 FE JNE *
140 14A1 10 FE JPL *
141 14A3 50 FE JVC *
142 14A5 70 FE JVS *
143 14A7 A5 01 85 01 MVA 1 1
144 14AB A6 01 86 01 MVX 1 1
145 14AF A4 01 84 01 MVY 1 1
146 14B3 A5 01 85 01 A5 02 + MWA 1 1
147 14BB A6 01 86 01 A6 02 + MWX 1 1
148 14C3 A4 01 84 01 A4 02 + MWY 1 1
149 14CB 90 F6 RCC
150 14CD B0 FC RCS
151 14CF F0 FC REQ
152 14D1 30 FC RMI
153 14D3 D0 FC RNE
154 14D5 10 FC RPL
155 14D7 50 FC RVC
156 14D9 70 FC RVS
157 14DB 90 02 SCC
158 14DD B0 02 SCS
159 14DF F0 02 SEQ
160 14E1 30 02 SMI
161 14E3 D0 02 SNE
162 14E5 10 03 SPL
163 14E7 38 E9 01 SUB #1
164 14EA 50 02 SVC
165 14EC 70 EE SVS
166
167 ; MADS Directives, XASM style
168 = 0000 extern EXT .BYTE
169 = 0000 sdx SMB "sdx"
170 14EE BLK N 1
171 0001 00 00 19 00 31 00 + DTA A(SIN(0,1000,256,0,63))
172 0081 0B 08 15 15 13 0C + DTA b(RND(0,33,256))
173 01,0181 NMB
174 0181 RMB
175 01,0181 LMB #1
176
177 ; MADS Directives, starting with "."
178 01,0181 01 .BYTE 1
179 01,0182 .HE .ADR label1
180 01,0182 .ARRAY label2 [1] .BYTE
181 .AEND
182 01,0183 .ALIGN
183 01,0200 A5 01 F0 00 #IF .BYTE 1 .AND 1
184 .IF 1
185 // .ELIF ??
186 .ELSEIF
187 .ELSE
188 .BY
189 .BYTE
190 .DB
191 .DEF def
192 .DS 1
193 .DW 1
194 .DWORD 1
195 .ECHO 1
196
197 .ENDA
198 .ENDE
199 .ENDIF
200
201 01,0204 .ENDT
202 01,0204 .ENUM enum
203 .EEND // END ENUM
204
205 .IF 1 = 0
206 .ERROR "Test"
207 .ENDIF
208
209 .MACRO macro1
210 .EXIT
211 .ENDM
212
213 = 01,0000 .EXTRN extern .BYTE
214 01,0204 .FL
215 01,0204 .GET "include/MADS-Reference-Binary-Include.bin"
216 .GLOBAL
217 .GLOBL
218 01,0204 01 .HE 1 .HI, .LEN proc, 1 .LO, 1 .NOT, 1 .OR 1
219
220 01,1000 4C 00 10 .LINK "include/MADS-Reference-Link-Include.bin"
221
222 01,1003 local1 .LOCAL
223 .ENDL
224 01,1003 local2 .LOCAL
225 .LEND
226
227 01,1003 00 00 00 .LONG
228
229 .MACRO macro2
230 .ENDM
231 .MACRO macro3
232 .MEND
233
234 01,1006 .PAGES $10
235 01,1006 .ENDPG
236 01,1006 .PAGES $12
237 01,1006 .PGEND
238
239 01,1006 .PROC proc1
240 .ENDP
241 01,1006 .PROC proc2
242 .PEND
.PRINT
244
245 .PUBLIC
246 [0000] .PUT
.REG
248
249 repeat1 .REPT 1
251 .ENDR
251 .ENDR
Source: REPT
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Compiling.asm
252 repeat2 .REPT 1
253 .REND
253 .REND
Source: REPT
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Compiling.asm
254
255 01,1006 .SAV "MADS-Reference-Save.bin",1
256 01,1006 41 .SB 1
257 .STRUCT struct1
258 .SEND
259 .STRUCT struct2
260 .ENDS
261 01,1007 A5 01 C5 01 90 + .TEST .BYTE 1>1
262 01,100F .TEND
263 01,100F .USE
264 01,100F .USING
265 01,100F .VAR var1 = 1 .BYTE
266 01,100F A5 01 C5 01 90 + .WHILE .byte 1>1
267 01,1017 4C 0F 10 .WEND
268 01,101A A5 01 C5 01 90 + .WHILE .byte 1>1
269 01,1022 4C 1A 10 .ENDW
270 01,1025 .WO
271 01,1025 00 00 .WORD 1 .XOR 1
272 01,1027 .ZPVAR var2 = 1 .BYTE
273
274 ; .RELOC .BYTE 1
275 ;symbol .SYMBOL
276
277
278 ; MADS Pseudo Opcodes, XASM style
279 01,1027 A5 01 D0 08 A5 + DEL 1
280 01,1035 A5 01 D0 0E A5 + DED 1
281 01,1049 A5 01 D0 02 C6 + DEW 1
282 01,1051 18 A5 01 69 01 + ADW 1 #1
283 01,105C 38 A5 01 E9 01 + SBW 1 #1
284 01,1067 48 8A 48 98 48 PHR
285 01,106C 68 A8 68 AA 68 PLR
286 01,1071 A5 01 18 69 01 + ADB 1 #1
287 01,1078 A5 01 38 E9 01 + SBB 1 #1
288 01,107F E6 01 D0 06 E6 + INL 1
289 01,1089 E6 01 D0 0A E6 + IND 1
290 01,1097 A5 01 C9 01 CPB 1 #1
291 01,109B A5 02 C9 00 D0 + CPW 1 #1
292 01,10A5 A5 03 C9 00 D0 + CPL 1 #1
293 01,10B5 A5 04 C9 00 D0 + CPD 1 #1
294
295 ; MADS Pseudo Opcodes, starting with "#"
296 01,10CB A5 01 F0 04 #IF .BYTE 1
297 01,10CF EA nop
298 01,10D0 4C D4 10 #ELSE
299 01,10D3 EA nop
300 01,10D4 #END
301 01,10D4 A5 01 F0 04 #WHILE .BYTE 1
302 01,10D8 EA nop
303 01,10D9 4C D4 10 #END
304
305
306 ; Hyperlink relevant directives and pseudo opcodes
307 01,10DC ICL 'include/MADS-Reference-Source-Include-Compiling.asm'
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include-Compiling.asm
1 ; Test
2
3 .print "Included"
3 Included
4
5
6
6 = 01,10DC 01 VAR1
6 = 01,0080 VAR2
308 01,10DD 00 00 00 00 00 + INS 'include/MADS-Reference-Binary-Include.bin'
309 01,14DD .GET 'include/MADS-Reference-Binary-Include.bin'
310 ; .LINK 'MADS-Reference-Link-Include.bin' ;COM format
311 01,14DD .SAV 'MADS-Reference-Save.bin',1
312
313 01,14DD ICL "include/MADS-Reference-Source-Include-Compiling" ;Suffix ".asm" appened automatically
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include-Compiling.asm
1 ; Test
2
3 .print "Included"
3 Included
4
5
6
314 01,14DD ICL "include/MADS-Reference-Source-Include-Compiling.asm"
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-Include-Compiling.asm
1 ; Test
2
3 .print "Included"
3 Included
4
5
6
315 01,14DD 00 00 00 00 00 + INS "include/MADS-Reference-Binary-Include.bin"
316 01,18DD .GET "include/MADS-Reference-Binary-Include.bin"
317 ; .LINK "MADS-Reference-Link-Include.bin" ;COM format
318 01,18DD .SAV "include/MADS-Reference-Save.bin",1
319
320 ; End block or assembly
321 .EN

View File

@ -1,4 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Label table:
00 2000 UNUSEDPROC
00 2000 INCLUDED

View File

@ -1,26 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Error-Location.asm
1 ; Error reference source file for MADS
2 ;
3 ; Label "unknownLabel" is undefined but used in this file.
4 ; Label "unknownIncludeLabel" is undefined but used in the included file.
5
6 ; @com.wudsn.ide.asm.hardware=ATARI8BIT
7
8 org $2000
9
10 ICL "include/MADS-Reference-Source-IncludE.asm"
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\include\MADS-Reference-Source-IncludE.asm
1 ; Test
2 .proc unusedproc ;Unused procedure
3 FFFF> 2000-2000> EA nop
4 .endp
5
6 2001 org $2000
7 2000 included
8 2000-2005> 4C 00 00 jmp unknownIncludeLabel
9
10
11
12 2003 4C 00 00 jmp unknownLabel
13

View File

@ -1,18 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Label table:
00 0001 EQUATE1
00 0002 EQUATE2
00 2000 LABEL1
00 2002 LABEL2
00 2004 PARAMETER_PROCEDURE
00 2004 PARAMETER_PROCEDURE.INNER_VAR
FFF8 0001 ARRAY1
FFF9 0006 STRUCTURE_DATA
FFFB 0000 SMB_SYMBOL
00 203C M_MACRO0.M_LABEL1
FFFE 0000 INNER_STRUCTURE
FFFE 0003 OUTER_STRUCTURE
00 203E OUTER_LOCAL
00 203E OUTER_LOCAL.INNER_LOCAL
00 2040 OUTER_PROCEDURE
00 2040 OUTER_PROCEDURE.INNER_PROCEDURE

View File

@ -1,18 +0,0 @@
xasm 3.0.1
Label table:
n 01 EQUATE1
n 02 EQUATE2
n 2000 LABEL1
n 2002 LABEL2
n 2004 PARAMETER_PROCEDURE
n 2004 PARAMETER_PROCEDURE.INNER_VAR
n 01 ARRAY1
n 06 STRUCTURE_DATA
n 00 SMB_SYMBOL
n 203C M_MACRO0.M_LABEL1
n 00 INNER_STRUCTURE
n 03 OUTER_STRUCTURE
n 203E OUTER_LOCAL
n 203E OUTER_LOCAL.INNER_LOCAL
n 2040 OUTER_PROCEDURE
n 2040 OUTER_PROCEDURE.INNER_PROCEDURE

View File

@ -1,71 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Symbols.asm
1 ; Reference source file for MADS symbols
2
3 org $2000
4
5 .macro m_macro
6 m_label1
7 lda #1
8 .endm
9
10 = 0001 equate1 = 1
11 = 0002 equate2 = equate1+1
12
13 FFFF> 2000-2004> A9 01 label1 lda #1
14 2002 85 80 label2 sta $80
15
16
17 // $FFF9 label for parameter in procedure defined by .PROC
18 // TODO: Missing in .lab file
19 2004 .proc parameter_procedure( .byte byte1 .word word1 ) .var
20 2004 .var inner_var .byte
21 = 2004 00 INNER_VAR
21 .endp
22
23 // $FFFA label for array defined by .ARRAY
24 // TODO: Actually results in $FFF8 instead in .lab file
25 2005 array1 .array
26 .enda
27
28 // $FFFB label for structured data defined by the pseudo-command DTA STRUCT_LABEL
29 2005 structure_data dta inner_structure [12]
30
31 // $FFFC label for SpartaDOS X symbol defined by SMB
32 // Actually results in $FFFB instead in .lab file
33 = 0000 smb_symbol smb
34 2039-2041> 4C 00 00 jmp SMB_symbol
35
36 // $FFFD label for macro defined by .MACRO directive
37 203C m_macro
Macro: M_MACRO [Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Symbols.asm]
1 203C m_label1
2 203C A9 01 lda #1
Source: C:\Users\D025328\Documents\Eclipse\workspace.jac\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Reference-Symbols.asm
38
39 // $FFFE label for structure defined by .STRUCT directive
40 .struct inner_structure
41 = 0000 x .word
42 = 0002 y .word
43 .ends
44
45 .struct outer_structure
46 structure inner_structure
47 .ends
48
49
50 // $FFFF label for procedure defined by .PROC directive
51 203E .local outer_local
52 203E .local inner_local
53 203E 00 .byte 0
54 .endl
55 203F 00 .byte 0
56 .endl
57
58 2040 .proc outer_procedure
59 2040 .proc inner_procedure
60 2040 60 rts
61 .endp
62 2041 60 rts
63 .endp
64

View File

@ -1,2 +0,0 @@
mads 2.0.6 build 58 (28 Jan 17)
Label table:

View File

@ -1,11 +0,0 @@
mads 2.0.6 build 58 (28 Jan 17)
Source: C:\jac\system\Java\Programming\Workspaces\WUDSN-IDE\com.wudsn.ide.ref\ASM\Atari8\MADS\MADS-Test.asm
1
2 ORG $1000
3
4
5 FFFF> 1000-1001> A7 AB lax $ab
6
7 .ifdef a
8 .error "Test"
9 .endif

View File

@ -1,533 +0,0 @@
mads 1.9.9 build 23 (22 Jun 14)
Label table:
00 0001 DIG
00 0000 ICHID
00 0001 ICDNO
00 0002 ICCOM
00 0003 ICSTA
00 0004 ICBAL
00 0005 ICBAH
00 0006 ICPTL
00 0007 ICPTH
00 0008 ICBLL
00 0009 ICBLH
00 000A ICAX1
00 000B ICAX2
00 000C ICAX3
00 000D ICAX4
00 000E ICAX5
00 000F ICAX6
00 0080 ADLI
00 0040 AVB
00 0040 ALMS
00 0020 AVSCR
00 0010 AHSCR
00 0001 AJMP
00 0000 AEMPTY1
00 0010 AEMPTY2
00 0020 AEMPTY3
00 0030 AEMPTY4
00 0040 AEMPTY5
00 0050 AEMPTY6
00 0060 AEMPTY7
00 0070 AEMPTY8
00 0001 NGFLAG
00 0002 CASINI
00 0004 RAMLO
00 0006 TRAMSZ
00 0007 CMCMD
00 0008 WARMST
00 0009 BOOT
00 000A DOSVEC
00 000C DOSINI
00 000E APPMHI
00 0010 POKMSK
00 0011 BRKKEY
00 0012 RTCLOK
00 0015 BUFADR
00 0017 ICCOMT
00 0018 DSKFMS
00 001A DSKUTL
00 001C ABUFPT
00 0020 ICHIDZ
00 0021 ICDNOZ
00 0022 ICCOMZ
00 0023 ICSTAZ
00 0024 ICBALZ
00 0025 ICBAHZ
00 0026 ICPTLZ
00 0027 ICPTHZ
00 0028 ICBLLZ
00 0029 ICBLHZ
00 002A ICAX1Z
00 002B ICAX2Z
00 002C ICAX3Z
00 002D ICAX4Z
00 002E ICAX5Z
00 002F ICAX6Z
00 0030 STATUS
00 0031 CHKSUM
00 0032 BUFRLO
00 0033 BUFRHI
00 0034 BFENLO
00 0035 BFENHI
00 0036 LTEMP
00 0038 BUFRFL
00 0039 RECVDN
00 003A XMTDON
00 003B CHKSNT
00 003C NOCKSM
00 003D BPTR
00 003E FTYPE
00 003F FEOF
00 0040 FREQ
00 0041 SOUNDR
00 0042 CRITIC
00 0043 FMSZPG
00 004A ZCHAIN
00 004C DSTAT
00 004D ATRACT
00 004E DRKMSK
00 004F COLRSH
00 0050 TEMP
00 0051 HOLD1
00 0052 LMARGN
00 0053 RMARGN
00 0054 ROWCRS
00 0055 COLCRS
00 0057 DINDEX
00 0058 SAVMSC
00 005A OLDROW
00 005B OLDCOL
00 005D OLDCHR
00 005E OLDADR
00 0060 FKDEF
00 0062 PALNTS
00 0062 L0062
00 0063 LOGCOL
00 0063 L0063
00 0064 ADRESS
00 0066 MLTTMP
00 0068 SAVADR
00 006A RAMTOP
00 006B BUFCNT
00 006C BUFSTR
00 006E BITMSK
00 006F SHFAMT
00 0070 ROWAC
00 0072 COLAC
00 0074 ENDPT
00 0076 DELTAR
00 0077 DELTAC
00 0079 KEYDEF
00 007B SWPFLG
00 007C HOLDCH
00 007D INSDAT
00 007E COUNTR
00 0080 LOMEM
00 0200 VDSLST
00 0202 VPRCED
00 0204 VINTER
00 0206 VBREAK
00 0208 VKEYBD
00 020A VSERIN
00 020C VSEROR