1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-06-12 14:29:54 +00:00

Fix PAD weirdness

This commit is contained in:
David Schmenk 2024-01-23 08:31:14 -08:00
parent 2a475a01e2
commit 92be9cd631
2 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@ -15,7 +15,7 @@ byte srclevel = 0
//
// Internal buffers
//
word strbuf, padbuf
word strbuf
res[SRCREFS * INBUF_SIZE] inbuf
res[t_except] exitforth
//
@ -1165,7 +1165,7 @@ def _fill_(a,b,c)#0
memset(a, c | (c << 8), b)
end
def _pad_#1
return padbuf
return heapmark + 512
end
def _trailing_(a,b)#2
while b and ^(a + b - 1) == ' '
@ -1972,7 +1972,6 @@ _estkl = ^(@syscall + 1) // Hack to fill in parameter stack locations
_estkh = ^(@syscall + 3)
fileio:iobufalloc(4) // Allocate a bunch of file buffers
strbuf = heapalloc(256)
padbuf = heapalloc(256)
startheap = heapmark
coldstart
//