mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-01-25 19:46:05 +00:00
reset handling, fpga update needed
This commit is contained in:
30574
bitstream.svf
30574
bitstream.svf
File diff suppressed because it is too large
Load Diff
11
emulator.c
11
emulator.c
@@ -289,10 +289,13 @@ const struct sched_param priority = {99};
|
||||
printf("loaded kick.rom with size %d kib\n",size/1024);
|
||||
}
|
||||
|
||||
|
||||
cpu_pulse_reset();
|
||||
|
||||
ovl=1;
|
||||
m68k_write_memory_8(0xbfe201,0x0001); //AMIGA OVL
|
||||
m68k_write_memory_8(0xbfe001,0x0001); //AMIGA OVL high (ROM@0x0)
|
||||
|
||||
//cpu_pulse_reset();
|
||||
|
||||
usleep(1500);
|
||||
|
||||
@@ -335,9 +338,11 @@ const struct sched_param priority = {99};
|
||||
|
||||
void cpu_pulse_reset(void){
|
||||
|
||||
write_reg(0x02);
|
||||
usleep(10000);
|
||||
write_reg(0x00);
|
||||
printf("Status Reg%x\n",read_reg());
|
||||
usleep(100000);
|
||||
write_reg(0x02);
|
||||
printf("Status Reg%x\n",read_reg());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user