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:
jonnosan 2009-04-05 02:45:13 +00:00
parent 32d24705bf
commit 3b27622f43
2 changed files with 8 additions and 3 deletions

View File

@ -6,7 +6,7 @@ MEMORY {
IP65ZP: start = $5f, size = $10, type = rw, define = yes;
HEADER: start = $8000, size = $16, 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;
}

View File

@ -32,12 +32,13 @@
.import __DATA_RUN__
.import __DATA_SIZE__
tftp_dir_buffer = $6000
.bss
nb65_param_buffer: .res $10
bin_file_jmp: .res 3
tftp_dir_buffer: .res 2000
@ -186,7 +187,11 @@ init:
jmp bad_boot
@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
lda nb65_param_buffer+NB65_TFTP_POINTER
cmp #01