Mercurial > hg > Members > kono > nitros9-code
view level1/modules/dwinit.asm @ 2879:531841047512 lwtools-port
boot_scsi.asm: Fix SCSI ID when booting from SCSI
Due to a typo it would probe for SCSI ID 4 instead
of default 0 (or 8 for HDBDOS/SuperDriver).
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 16:08:53 +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