Mercurial > hg > Members > kono > nitros9-code
view level1/modules/dwinit.asm @ 2897:260116065a2f lwtools-port
arcadepak: Add empty_smash.txt and empty_thexder.txt dummy files
This was done in default branch in commit 9b29d654db13 but
did not get into the lwtools branch. We'll probably do this
differently later, but for now I'll just pick this solution.
At this point everything I have spotted of useful changes in
the default branch has been pushed to the lwtools branch.
I have cherry-picked changes both ways in order to make a merge
easier, but a real merge will probably not be useful. I did
try it out and waded through merge conflicts and diff'ed the
result with current lwtools branch, so I am pretty sure nothing
useful will be lost.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 11 Jan 2014 18:20:09 +0100 |
parents | ce3dba57003b |
children | c505ae3120c4 |
line wrap: on
line source
******************************************************* * * DWInit * Initialize DriveWire for CoCo Bit Banger DWInit IFNE ARDUINO * setup PIA PORTA (read) clr $FF51 clr $FF50 lda #$2C sta $FF51 * setup PIA PORTB (write) clr $FF53 lda #$FF sta $FF52 lda #$2C sta $FF53 rts ELSE pshs a,x IFDEF PIA1Base ldx #PIA1Base $FF20 clr 1,x clear CD lda #%11111110 sta ,x lda #%00110100 sta 1,x lda ,x ENDC puls a,x,pc ENDC