Comments (7)
Call stack on current attempt:
m68k_read_memory_8 (0x00ffff01); // bus error within bus error
m68ki_exception_bus_error ()
m68k_pulse_bus_error () [Page fault?]
m68k_read_memory_8 (0x2FFD86)
From musashi:
/* Exception for bus error */
static inline void m68ki_exception_bus_error(void)
{
int i;
/* If we were processing a bus error, address error, or reset,
* this is a catastrophic failure.
* Halt the CPU
*/
if(CPU_RUN_MODE == RUN_MODE_BERR_AERR_RESET)
{
m68k_read_memory_8(0x00ffff01);
CPU_STOPPED = STOP_LEVEL_HALT;
return;
}
CPU_RUN_MODE = RUN_MODE_BERR_AERR_RESET;
...
from freebee.
Are you sure this is a supported configuration?
I think 3.50 was the only UNIX which could boot on 512k machines (the 7300 specifically). All 3B1s came with 1MB minimum, and (don't quote me on this!) the 3.51 UNIX.
from freebee.
Ahh this could definitely be the issue -- running out of RAM trying to boot a 3.51 UNIX. If I can find an older OS set, I could try that on the 512k, but it sounds like this is Not A Bug then.
from freebee.
I've spent a lot of time investigating this issue, as I was getting the "double bus error" assert in other instances. My conclusion is that the handling in Musashi is incorrect. On the UNIX PC, there are instances when a page fault will occur during the bus error exception handling of an initial PF. Musashi interprets this as a catastrophic error. However, the only time it's catastrophic is if the bus error occurs during the setup of the stack frame. And the stack frame is setup within m68ki_exception_bus_error() so this should never occur. MAME's Musashi code appears to have been changed to reflect this.
I'll see if I can get Musashi updated with a fix, and then update Freebee to the latest Musashi submodule if that sounds good.
from freebee.
Sounds good to me!
from freebee.
One other quick note (on the original issue), I tried setting the the RAM to 512KB and booting 3.51m with the check for double bus fault disabled in Musashi and sure enough things booted and seemed to work fine. Memory was nearly 100% used and seemed to be hitting the swap file as it was fairly slow, but did seem to work.
from freebee.
Fixed with latest Musashi
from freebee.
Related Issues (20)
- Add status line to main window
- Add ImageDisk floppy image read-write support HOT 2
- Add configuration file support HOT 2
- Smarter hard disk image support (header?) HOT 2
- Emulate expansion cards HOT 1
- Emulate VIDPAL expansion HOT 1
- UNIX 3.51 hangs on second boot after install due to lack of modem emulation HOT 6
- Dismount failed errors while installing 3.51 HOT 2
- Kernel panic when running gzip or cc from the 3.51 Development Set
- SDL window size incorrect
- UNIX 3.51m fails to boot, hangs on Disk Ctrlr message HOT 1
- Clean up macro usage
- please don't use sed in makefile HOT 7
- no SDL output on macOS HOT 11
- Unix 3.51m kernel panics on large disk HOT 13
- How, EXACTLY, do I access a DOS disk image? HOT 4
- Optimization needed for Raspberry Pi HOT 4
- Running freebee help HOT 2
- topic addition for better community reach HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freebee.