annotate level1/modules/dwinit.asm @ 2684:2a37d4530972 lwtools-port

Even more command line fixups for lwasm
author William Astle <lost@l-w.ca>
date Sun, 10 Jun 2012 18:38:22 -0600
parents 4655eabf00c0
children ce3dba57003b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2638
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
1 *******************************************************
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
2 *
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
3 * DWInit
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 * Initialize DriveWire for CoCo Bit Banger
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6 DWInit
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 pshs a,x
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2638
diff changeset
8 ifdef PIA1Base
2638
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 ldx #PIA1Base $FF20
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10 clr 1,x clear CD
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
11 lda #%11111110
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12 sta ,x
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13 lda #%00110100
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
14 sta 1,x
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15 lda ,x
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2638
diff changeset
16 endc
2638
4655eabf00c0 dw3.asm is now common... dwinit.asm now added to for port specific initialization
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
17 puls a,x,pc