Initial port to Linux (using Allegro).

64-bit fixes.
Some changes to aid portability.
A few other tweaks.
This commit is contained in:
TomW 2014-09-04 21:07:24 +01:00
commit 56b455844e
70 changed files with 12702 additions and 282 deletions

View file

@ -146,7 +146,7 @@ void *et4000_init()
et4000_t *et4000 = malloc(sizeof(et4000_t));
memset(et4000, 0, sizeof(et4000_t));
rom_init(&et4000->bios_rom, "roms/et4000.bin", 0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL);
rom_init(&et4000->bios_rom, "roms/et4000.BIN", 0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL);
io_sethandler(0x03c0, 0x0020, et4000_in, NULL, NULL, et4000_out, NULL, NULL, et4000);
@ -161,7 +161,7 @@ void *et4000_init()
static int et4000_available()
{
return rom_present("roms/et4000.bin");
return rom_present("roms/et4000.BIN");
}
void et4000_close(void *p)
@ -200,7 +200,7 @@ device_t et4000_device =
0,
et4000_init,
et4000_close,
NULL,
et4000_available,
et4000_speed_changed,
et4000_force_redraw,
et4000_add_status_info