1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 21:18:07 +11:00

bshell: adjust RAMSTART to avoid clashwith USER_CODE

With a 0x4000 RAMSTART, bshell's RAM usage clashed with USER_CODE, making
RAM-using userapp break everything.
This commit is contained in:
Virgil Dupras 2019-11-30 19:50:23 -05:00
parent fc23a7c4a1
commit 871b06fecf
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
.inc "fs.h" .inc "fs.h"
.inc "err.h" .inc "err.h"
.inc "ascii.h" .inc "ascii.h"
.equ RAMSTART 0x4000 .equ RAMSTART 0x2000
.equ USER_CODE 0x4200 .equ USER_CODE 0x4200
.equ STDIO_PORT 0x00 .equ STDIO_PORT 0x00
.equ FS_DATA_PORT 0x01 .equ FS_DATA_PORT 0x01

View File

@ -26,8 +26,8 @@
//#define DEBUG //#define DEBUG
#define MAX_FSDEV_SIZE 0x20000 #define MAX_FSDEV_SIZE 0x20000
// in sync with shell.asm // in sync with glue.asm
#define RAMSTART 0x4000 #define RAMSTART 0x2000
#define STDIO_PORT 0x00 #define STDIO_PORT 0x00
#define FS_DATA_PORT 0x01 #define FS_DATA_PORT 0x01
// Controls what address (24bit) the data port returns. To select an address, // Controls what address (24bit) the data port returns. To select an address,