equi

A self-descriptive stack-based PC platform
git clone git://git.luxferre.top/equi.git
Log | Files | Refs | README | LICENSE

commit 970c6f919df56e1b85d0580ed2c6bcc2fb6849e6
parent 03cf5e95fe511bf42a8cceb4a64e633fc09def6d
Author: Luxferre <lux@ferre>
Date:   Sat, 13 Aug 2022 10:24:55 +0300

another a2e adjustment and stack size output on interactive banner

Diffstat:
Mequi.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/equi.c b/equi.c @@ -68,7 +68,7 @@ /* Command buffer size in bytes */ #ifndef CMD_BUF_SIZE -#define CMD_BUF_SIZE 14000u +#define CMD_BUF_SIZE 13600u #endif /* Maximum amount of CLT entries */ @@ -630,8 +630,8 @@ int main(int argc, char* argv[]) { #else /* VT100-compatible terminal init */ printf("\033c"); #endif - printf("Welcome to Equi v" EQUI_VER " by Luxferre, 2022\nCLT: 0x%04X (%d bytes)\nGPD: 0x%04X (%d bytes)\nCommand buffer: 0x%04X (%d bytes)\nEqui ready\n\n> ", - ram.clt_start, ram.gpd_start - ram.clt_start, ram.gpd_start, ram.cmd_start - ram.gpd_start, ram.cmd_start, ram.cmd_size); + printf("Welcome to Equi v" EQUI_VER " by Luxferre, 2022\nStack size: %d bytes\nLiteral stack size: %d bytes\nCLT: 0x%04X (%d bytes)\nGPD: 0x%04X (%d bytes)\nCommand buffer: 0x%04X (%d bytes)\nEqui ready\n\n> ", + STACK_SIZE, LIT_STACK_SIZE, ram.clt_start, ram.gpd_start - ram.clt_start, ram.gpd_start, ram.cmd_start - ram.gpd_start, ram.cmd_start, ram.cmd_size); } /* now, if necessary, convert the values that could be read by the program to big-endian */