Mercurial > hg > Members > kono > nitros9-code
view level1/modules/dwinit.asm @ 2786:e333ec1907ef lwtools-port
Updated makefile(s) so correct coco1 dw boot and dwio.sb files are used.
Updated level1/coco1/modules/makefile so that boot_dw_coco1
and dwio_coco1.sb get created.
Updated level1/coco1/bootfiles/makefile added detection of PORT
status so if coco1 is detected then dwio_coco1.sb and
boot_dw_coco1 are used in place of dwio.sb and boot_dw.
author | drencor-xeen |
---|---|
date | Sun, 27 Jan 2013 00:14:03 -0600 |
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