fix2
This commit is contained in:
parent
c40f866475
commit
367edce36c
3 changed files with 0 additions and 1 deletions
BIN
6.out
BIN
6.out
Binary file not shown.
BIN
scemu.6
BIN
scemu.6
Binary file not shown.
1
scemu.c
1
scemu.c
|
@ -74,7 +74,6 @@ main(int argc, char **argv)
|
||||||
if(prog == nil)
|
if(prog == nil)
|
||||||
sysfatal("bad program: %r");
|
sysfatal("bad program: %r");
|
||||||
memmove(mem+0x8000, prog, progsiz);
|
memmove(mem+0x8000, prog, progsiz);
|
||||||
strcpy((s8int*)mem+0x400, "HELLO WORLD\nI HAVE (bad) NEWS FOR YOU!\nI AM HERE");
|
|
||||||
rP = 0x34;
|
rP = 0x34;
|
||||||
pc = 0xFFFC;
|
pc = 0xFFFC;
|
||||||
pc = fetch16();
|
pc = fetch16();
|
||||||
|
|
Loading…
Add table
Reference in a new issue