From 3b27622f43d5b25bcd28d287380ddf3c6e40aa59 Mon Sep 17 00:00:00 2001 From: jonnosan Date: Sun, 5 Apr 2009 02:45:13 +0000 Subject: [PATCH] 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 --- client/cfg/rrbin.cfg | 2 +- client/clients/rrnetboot.s | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/client/cfg/rrbin.cfg b/client/cfg/rrbin.cfg index ce69c62..24f09c8 100644 --- a/client/cfg/rrbin.cfg +++ b/client/cfg/rrbin.cfg @@ -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; } diff --git a/client/clients/rrnetboot.s b/client/clients/rrnetboot.s index 91b4ad1..9081dee 100644 --- a/client/clients/rrnetboot.s +++ b/client/clients/rrnetboot.s @@ -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