1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-02-03 22:35:52 +00:00

Supress banner on AUTORUN startup

This commit is contained in:
David Schmenk 2014-12-18 12:29:05 -08:00
parent 7c45727eb0
commit 545eba0e3b

View File

@ -998,7 +998,7 @@ loop
// Try to load autorun. // Try to load autorun.
// //
cmdptr = heap cmdptr = heap
memset(cmdptr, 64, 0) memset(cmdptr, 128, 0)
readfile(@autorun, cmdptr + 1) readfile(@autorun, cmdptr + 1)
while ^(cmdptr + ^cmdptr + 1) >= ' ' while ^(cmdptr + ^cmdptr + 1) >= ' '
^cmdptr = ^cmdptr + 1 ^cmdptr = ^cmdptr + 1
@ -1007,14 +1007,16 @@ perr = 0
// //
// Print some startup info. // Print some startup info.
// //
prstr(@verstr) if not ^cmdptr
prbyte(version.1) prstr(@verstr)
cout('.') prbyte(version.1)
prbyte(version.0) cout('.')
crout prbyte(version.0)
prstr(@freestr) crout
prword(availheap) prstr(@freestr)
crout prword(availheap)
crout
fin
// //
// Handle commands. // Handle commands.
// //