PLEASE NOTE that under UNIXes the keyboard must be in raw mode for the emulator to work properly. cable3 bios-image-file floppy-image-file #8086 EMULATOR FOR MAC MAC OS#32-bit Mac OS X, which uses 64-bit file offsets) this is not the case, and to run successfully on these systems, you will need to explicitly declare these functions by adding the appropriate include to the top of the source: #include The code as supplied uses implicit function declarations for POSIX file I/O and in doing so assumes that file offsets are the same bit width as your architecture. For example, for Windows/MS Visual Studio, instead of the Makefile definition of KB, use something slightly different - add the following entry to the Preprocessor Definitions list in the Project Properties page: KB=(kb=H(8),kbhit())&(r=getch(),H(7)) Therefore the Makefile includes a -D entry to define a “keyboard driver” KB which as it stands is suitable for UNIXes, but maybe not non-UNIX platforms. On UNIX-based systems we can get raw keystrokes using stty. You will need to adjust the Makefile if your system lacks sdl-config to correctly point to the SDL libraries and header files. I have received reports that the emulator works on Raspberry Pi/Android/ARM (you will need to compile with -fsigned-char) and iOS. #8086 EMULATOR FOR MAC FOR MAC OS#The Makefile supplied is good for Mac OS X, Linux and probably other UNIXes. #8086 EMULATOR FOR MAC MAC OS X#This entry has been tested on Windows (compiled with MS Visual Studio 20), Mac OS X (clang and gcc), and Linux (clang and gcc).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |