mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-10-11 01:23:42 +00:00
free up 4k (BSS moves from $6000 to $7000)
git-svn-id: http://svn.code.sf.net/p/netboot65/code@79 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
parent
32d24705bf
commit
3b27622f43
@ -6,7 +6,7 @@ MEMORY {
|
|||||||
IP65ZP: start = $5f, size = $10, type = rw, define = yes;
|
IP65ZP: start = $5f, size = $10, type = rw, define = yes;
|
||||||
HEADER: start = $8000, size = $16, file = %O;
|
HEADER: start = $8000, size = $16, file = %O;
|
||||||
ROM: start = $8016, size = $1F00, define = yes, file = %O;
|
ROM: start = $8016, size = $1F00, define = yes, file = %O;
|
||||||
RAM: start = $6000, size = $2000, define = yes;
|
RAM: start = $7000, size = $1000, define = yes;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -32,12 +32,13 @@
|
|||||||
.import __DATA_RUN__
|
.import __DATA_RUN__
|
||||||
.import __DATA_SIZE__
|
.import __DATA_SIZE__
|
||||||
|
|
||||||
|
tftp_dir_buffer = $6000
|
||||||
.bss
|
.bss
|
||||||
|
|
||||||
nb65_param_buffer: .res $10
|
nb65_param_buffer: .res $10
|
||||||
|
|
||||||
bin_file_jmp: .res 3
|
bin_file_jmp: .res 3
|
||||||
tftp_dir_buffer: .res 2000
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -186,7 +187,11 @@ init:
|
|||||||
jmp bad_boot
|
jmp bad_boot
|
||||||
|
|
||||||
@file_downloaded_ok:
|
@file_downloaded_ok:
|
||||||
|
|
||||||
|
;remove the IP timer code from IRQ chain
|
||||||
|
ldy #NB65_UNHOOK_VBL_IRQ
|
||||||
|
jsr NB65_DISPATCH_VECTOR
|
||||||
|
|
||||||
;check whether the file we just downloaded was a BASIC prg
|
;check whether the file we just downloaded was a BASIC prg
|
||||||
lda nb65_param_buffer+NB65_TFTP_POINTER
|
lda nb65_param_buffer+NB65_TFTP_POINTER
|
||||||
cmp #01
|
cmp #01
|
||||||
|
Loading…
Reference in New Issue
Block a user