code cleanup
This commit is contained in:
parent
535d348893
commit
436b86aa2a
|
@ -1,10 +0,0 @@
|
|||
BOOT_SRC := $(wildcard src/boot/*.s)
|
||||
|
||||
BOOT_OBJ := $(BOOT_SRC:.s=.o)
|
||||
|
||||
BOOT_LDFLAGS := --list-file build/boot.lst
|
||||
|
||||
build/boot.bin: $(BOOT_OBJ)
|
||||
@echo "Linking $@..."
|
||||
@$(LD) -o $@ config/boot.scm $(LDFLAGS) $(BOOT_LDFLAGS) $^
|
||||
@mv build/boot.raw $@
|
|
@ -1,36 +0,0 @@
|
|||
(define memories '(
|
||||
|
||||
(memory Code
|
||||
(address (#x008000 . #x0080FF))
|
||||
(section code)
|
||||
(section cdata)
|
||||
(section switch)
|
||||
)
|
||||
|
||||
(memory Data
|
||||
(address (#x008100 . #x0081FF))
|
||||
(section near)
|
||||
(section data)
|
||||
(section znear)
|
||||
(section zdata)
|
||||
)
|
||||
|
||||
(memory Stack
|
||||
(address (#x000100 . #x0001FF))
|
||||
(section (stack #x00100))
|
||||
)
|
||||
|
||||
(memory DirectPage
|
||||
(address (#x000000 . #x0000FF))
|
||||
(section
|
||||
(registers #x000004)
|
||||
(ztiny)
|
||||
)
|
||||
)
|
||||
|
||||
(block stack (size #x100)) ; machine stack size
|
||||
|
||||
(base-address _DirectPageStart DirectPage 0)
|
||||
|
||||
(base-address _NearBaseAddress Data 0)
|
||||
))
|
Loading…
Reference in New Issue