32x: built-in BIOS; reset handling; 68k memhandler split

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@801 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-03 16:21:59 +00:00
parent 5fadfb1c37
commit 83ff19ec52
7 changed files with 405 additions and 150 deletions

View file

@ -1299,6 +1299,19 @@ void emu_init(void)
char path[512];
int pos;
#if 0
// FIXME: handle through menu, etc
FILE *f;
f = fopen("32X_M_BIOS.BIN", "rb");
p32x_bios_m = malloc(2048);
fread(p32x_bios_m, 1, 2048, f);
fclose(f);
f = fopen("32X_S_BIOS.BIN", "rb");
p32x_bios_s = malloc(1024);
fread(p32x_bios_s, 1, 1024, f);
fclose(f);
#endif
/* make dirs for saves */
pos = plat_get_root_dir(path, sizeof(path) - 4);
mkdir_path(path, pos, "mds");