Open AnErrupTion opened 2 years ago
Hi sorry to revive such an old post but did you manage to find a solution to this?
Hi sorry to revive such an old post but did you manage to find a solution to this?
I haven't tried since, I could try fairly soon (I'm using a completely different distribution + WM) so maybe it'd work, but I have no idea...
Well, now it doesn't even compile anymore:
emu/emu.c:174:15: error: incompatible integer to pointer conversion initializing 'FILE *' (aka 'struct _IO_FILE *') with an expression of type 'int' [-Wint-conversion]
FILE *f = fmemopen((void *) out, n, "wb");
And I'm too lazy to fix it xD Besides, it probably still doesn't work...
ok so aparently i was loading the rooms wrong.... i loaded the os just fine but I loaded the program on 0xC0000 instead of 0xC000
sooo yea that was it.
./bin/emu -l os.bin 0x0000 -l demo.bin 0xc000 -m screen -m kb -r normal
I compiled both
demo.asm
andostext.asm
, and I used this command to load them into the emulator:./bin/emu -l demo 0xC000 -l ostext 0 -m kb -m screen -r realtime
However, the SDL window is blank:![image](https://user-images.githubusercontent.com/49339966/177057670-8cd39ded-4140-4459-a6cb-16f2a5c6acd4.png)
You can see the output of the terminal, the files are being correctly loaded and there are no errors. I'm not sure what's causing this, I just built with
make
, and I had all dependencies installed (at least make did not throw any error).