mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-08-20 02:29:32 +00:00
git-svn-id: http://svn.code.sf.net/p/netboot65/code@124 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
parent
5afbeb4464
commit
028a1f135b
@ -15,8 +15,7 @@
|
|||||||
jsr print_a
|
jsr print_a
|
||||||
.endmacro
|
.endmacro
|
||||||
|
|
||||||
.data
|
|
||||||
sector_buffer_address: .word sector_buffer
|
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
current_byte: .res 1
|
current_byte: .res 1
|
||||||
@ -27,6 +26,7 @@ sector_buffer_address: .word sector_buffer
|
|||||||
command_buffer: .res 128
|
command_buffer: .res 128
|
||||||
sector_buffer: .res 256
|
sector_buffer: .res 256
|
||||||
nb65_param_buffer: .res $20
|
nb65_param_buffer: .res $20
|
||||||
|
sector_buffer_address: .res 2
|
||||||
|
|
||||||
.zeropage
|
.zeropage
|
||||||
temp_ptr: .res 2
|
temp_ptr: .res 2
|
||||||
@ -151,7 +151,7 @@ send_next_block:
|
|||||||
ldax #$100
|
ldax #$100
|
||||||
rts
|
rts
|
||||||
@not_last_sector:
|
@not_last_sector:
|
||||||
inc sector_buffer_address
|
inc sector_buffer_address+1
|
||||||
jsr read_sector
|
jsr read_sector
|
||||||
jsr move_to_next_sector
|
jsr move_to_next_sector
|
||||||
ldax #$200
|
ldax #$200
|
||||||
@ -444,7 +444,7 @@ move_to_next_sector:
|
|||||||
clc
|
clc
|
||||||
rts
|
rts
|
||||||
@not_track_25:
|
@not_track_25:
|
||||||
cmp #25
|
cmp #31
|
||||||
bne @not_track_31
|
bne @not_track_31
|
||||||
lda #17
|
lda #17
|
||||||
sta sectors_in_track
|
sta sectors_in_track
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user