; (this is struct u_data from kernel.h)
U_DATA .set $0200
-; 256+256+256 bytes.
-U_DATA__TOTALSIZE .set $300
+; 256+256 bytes.
+U_DATA__TOTALSIZE .set $200
PROGLOAD .set $2000
ZPBASE .set $0
; UZI mnemonics for memory addresses etc
-U_DATA equ 0x7D00 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE equ 0x300 ; 256+256+256 bytes.
+U_DATA equ 0x7E00 ; (this is struct u_data from kernel.h)
+U_DATA__TOTALSIZE equ 0x0200 ; 256+256+256 bytes.
SAM_USER macro
; UZI mnemonics for memory addresses etc
U_DATA .equ 0x8200 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256+256 bytes.
Z80_TYPE .equ 0
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
; as far as I can tell either is allowed by the spec
#define TICKSPERSEC 50 /* Ticks per second */
#define PROGBASE 0x0000 /* also data base */
#define PROGLOAD 0x0100 /* also data base */
-#define PROGTOP 0xBD00 /* Top of program, base of U_DATA copy */
+#define PROGTOP 0xBE00 /* Top of program, base of U_DATA copy */
#define PROC_SIZE 48 /* Memory needed per process */
/* Undefine this section if you don't have a silicon disc for swap. It's not
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
-U_DATA_STASH .equ 0xBD00 ; BD00-BFFF
+U_DATA_STASH .equ 0xBE00 ; BE00-BFFF
PROGBASE .equ 0x0000
PROGLOAD .equ 0x0100
; Move down to 0xF600 to fit the monitor in
U_DATA .equ 0xF800 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
Z80_TYPE .equ 2
OS_BANK .equ 0x00 ; value from include/kernel.h
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF800 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
OS_BANK .equ 0x00 ; value from include/kernel.h
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF400 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
Z80_TYPE .equ 0 ; FIXME: check
; UZI mnemonics for memory addresses etc
U_DATA .equ 0x0100 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256+256 bytes.
VIDBASE .equ 0xF8 ; Video for now
; FUZIX mnemonics for memory addresses etc
U_DATA .equ 0xC000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
Z80_TYPE .equ 0 ; CMOS
Z80_MMU_HOOKS .equ 0
; FUZIX mnemonics for memory addresses etc
U_DATA .equ 0xD000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
Z80_TYPE .equ 0 ; just a old good Z80
USE_FANCY_MONITOR .equ 1 ; disabling this saves around approx 0.5KB
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xf800 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
Z80_TYPE .equ 0 ; Actually a T80
; (this is struct u_data from kernel.h)
U_DATA .set $0200
; 256+256+256 bytes.
-U_DATA__TOTALSIZE .set $300
+U_DATA__TOTALSIZE .set $200
PROGLOAD .set $2000
ZPBASE .set $0
#define TICKSPERSEC 10 /* Ticks per second */
#define PROGBASE 0x0000 /* Base of user */
#define PROGLOAD 0x0100 /* Load and run here */
-#define PROGTOP 0x7D00 /* Top of program, base of U_DATA stash */
+#define PROGTOP 0x7E00 /* Top of program, base of U_DATA stash */
#define PROC_SIZE 32 /* Memory needed per process */
#define SWAPDEV (swap_dev)
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256+256 bytes.
-U_DATA_STASH .equ 0x7D00 ; BD00-BFFF
+U_DATA_STASH .equ 0x7E00 ; 7E00-7FFF
PROGBASE .equ 0x0000
PROGLOAD .equ 0x0100
; (this is struct u_data from kernel.h)
U_DATA .set $0200
-; 256+256+256 bytes.
-U_DATA__TOTALSIZE .set $300
+; 256+256 bytes.
+U_DATA__TOTALSIZE .set $200
PROGLOAD .set $2000
ZPBASE .set $0
#define TICKSPERSEC 100 /* Ticks per second */
#define PROGBASE 0x0000 /* also data base */
#define PROGLOAD 0x0100 /* also data base */
-#define PROGTOP 0xED00 /* Top of program, base of U_DATA copy */
+#define PROGTOP 0xEE00 /* Top of program, base of U_DATA copy */
#define PROC_SIZE 60 /* Memory needed per process */
#define SWAP_SIZE 0x78 /* 60K in blocks (we actually don't need the low 256) */
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
-U_DATA_STASH .equ 0xED00 ; ED00-EFFF
+U_DATA_STASH .equ 0xEE00 ; EE00-EFFF
PROGBASE .equ 0x0000
PROGLOAD .equ 0x0100
; UZI mnemonics for memory addresses etc
U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256+256 bytes.
-U_STASH_HIGH .equ 0xBD00 ; BD00-BFFF
-U_STASH_LOW .equ 0x7D00 ; 7D00-BFFF
+U_STASH_HIGH .equ 0xBE00 ; BE00-BFFF
+U_STASH_LOW .equ 0x7E00 ; 7E00-BFFF
Z80_TYPE .equ 0
; FUZIX mnemonics for memory addresses etc
U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256+256 bytes.
Z80_TYPE .equ 0 ; just an old good Z80
USE_FANCY_MONITOR .equ 1 ; disabling this saves around approx 0.5KB
#define TICKSPERSEC 50 /* Ticks per second */
#define PROGBASE 0x8000 /* also data base */
#define PROGLOAD 0x8000 /* also data base */
-#define PROGTOP 0xFC00 /* Top of program, base of U_DATA copy */
+#define PROGTOP 0xFD00 /* Top of program, base of U_DATA copy */
#define PROC_SIZE 32 /* Memory needed per process */
#define BOOT_TTY (513) /* Set this to default device for stdio, stderr */
; UZI mnemonics for memory addresses etc
U_DATA .equ 0x4000 ; (this is struct u_data from kernel.h)
-U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes.
+U_DATA__TOTALSIZE .equ 0x200 ; 256+256 bytes.
-U_DATA_STASH .equ 0xFC00 ; FC00-FEFF
+U_DATA_STASH .equ 0xFD00 ; FD00-FEFF
Z80_TYPE .equ 1