mirror of https://github.com/wwarthen/RomWBW.git
committed by
GitHub
60 changed files with 300 additions and 229 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,20 +1,18 @@ |
|||
all: |
|||
$(MAKE) --directory Tools/unix |
|||
$(MAKE) --directory Tools |
|||
$(MAKE) --directory Source |
|||
|
|||
clean: |
|||
$(MAKE) --directory Tools/unix clean |
|||
$(MAKE) --directory Tools clean |
|||
$(MAKE) --directory Source clean |
|||
$(MAKE) --directory Binary clean |
|||
|
|||
clobber: |
|||
$(MAKE) --directory Tools/unix clobber |
|||
$(MAKE) --directory Source clobber |
|||
$(MAKE) --directory Binary clobber |
|||
rm -f typescript |
|||
clobber: clean |
|||
|
|||
diff: |
|||
$(MAKE) --directory Source diff |
|||
|
|||
dist: |
|||
$(MAKE) ROM_PLATFORM=dist |
|||
$(MAKE) --directory Source clean |
|||
$(MAKE) --directory Tools clean |
|||
|
|||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,61 @@ |
|||
; |
|||
;================================================================================================== |
|||
; HBIOS ENVIRONMENT EXPORT |
|||
;================================================================================================== |
|||
; |
|||
; Do we need a private stack??? |
|||
; Use a macro do dump each variable? |
|||
; |
|||
#include "std.asm" |
|||
; |
|||
.org $100 ; Normal CP/M start address |
|||
; |
|||
; Dump ROMSIZE |
|||
call PRTSTRD |
|||
#ifdef CMD |
|||
.text "set ROMSize=$" |
|||
#endif |
|||
#ifdef BASH |
|||
.text "ROMSIZE=$" |
|||
#endif |
|||
ld hl,ROMSIZE |
|||
call PRTDEC |
|||
call EOL |
|||
; |
|||
ret ; Return |
|||
; |
|||
; Output end-of-line. Handles differences between |
|||
; Windows CMD file and Bash. |
|||
; |
|||
EOL: |
|||
#ifdef CMD |
|||
ld a,13 |
|||
call COUT |
|||
#endif |
|||
ld a,10 |
|||
call COUT |
|||
ret |
|||
|
|||
; |
|||
; Print a single character from register A. |
|||
; This routine is required by the utility routines included below. |
|||
; |
|||
COUT: |
|||
push af |
|||
push bc |
|||
push de |
|||
push hl |
|||
ld e,a |
|||
ld c,2 |
|||
call $0005 |
|||
pop hl |
|||
pop de |
|||
pop bc |
|||
pop af |
|||
ret |
|||
; |
|||
; Include the utility routines |
|||
; |
|||
#include "util.asm" |
|||
; |
|||
.end |
|||
@ -0,0 +1,11 @@ |
|||
#
|
|||
# build the tools for linux and Darwin
|
|||
#
|
|||
UNAME := $(shell uname) |
|||
|
|||
all: |
|||
$(MAKE) --directory unix |
|||
|
|||
clean: |
|||
$(MAKE) --directory unix clean |
|||
@rm -rf $(UNAME) |
|||
Loading…
Reference in new issue