;qboot DOS 3.3 relocated launcher support ;copyright (c) Peter Ferrie 2016 ;assemble using ACME !cpu 6502 !to "dos33l",plain ;place on sector 1 *=$BF00 firsttrk = $d1 ;user-defined, first track to read stx sectors sta address - sty index + 1 lda xlatsec, y sta sector lda #>iocb ldy #dct, 0 address !byte $d1 !byte 0, 0, 1, 0, 0, $60, 1 dct !byte 1, $ef, $d8, 0