Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current build permanently resets #29

Open
dirkwhoffmann opened this issue Mar 30, 2019 · 10 comments
Open

Current build permanently resets #29

dirkwhoffmann opened this issue Mar 30, 2019 · 10 comments

Comments

@dirkwhoffmann
Copy link

I've downloaded the current build, but I don't get Omega to boot any more.

The emulator resets itself periodically (which I can see in the console log):

Machine reset...
PC:fc05fc6
SP:dbfffa6
Machine reset...
PC:fc05fc6
SP:dbfffa6
....
@h5n1xp
Copy link
Owner

h5n1xp commented Mar 30, 2019

Damn! I feared this would happen. I’ve been working on a new display generation algorithm, I must have left something in 😞

Let me know your Rom version and boot disk 👍🏻

@dirkwhoffmann
Copy link
Author

I tried with:

./omega ~/Dropbox/Amiga/Roms/kick12.rom  ~~/Dropbox/Amiga/Workbench/A2000\ WB\ 1.2\ D.adf 

and

./omega ~/Dropbox/Amiga/Roms/kick12.rom  ~/Dropbox/Amiga/Games/Marble\ Madness.adf

@h5n1xp
Copy link
Owner

h5n1xp commented Mar 30, 2019

Ok, I think KS1.2 doesn’t like the slowram I have implemented, are you able to try with KS1.3 or KS2?

@dirkwhoffmann
Copy link
Author

Yes, it's a KS 1.2 issue. With KS 1.3 ...

Screenshot 2019-03-30 at 12 36 20

Let's double click this thing 🤤

Screenshot 2019-03-30 at 12 35 01

Looking good 😎

Screenshot 2019-03-30 at 12 35 07

Ouuups 😲

@dirkwhoffmann
Copy link
Author

Defender of the Crown causes a bus error 😬:

omega ~/Dropbox/Amiga/Roms/kick13.rom  ~/Dropbox/Amiga/Games/Defender\ of\ the\ Crown_Disk1.adf 

After hitting F1:

0000 - DF0 Click
0000 - DF0 Click
0000 - DF0 Click
Bus error: 10

Here is the crash log:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   omega                         	0x00000001029642c9 sprite2chunky + 201
1   omega                         	0x0000000102960e23 dma_execute + 1027
2   omega                         	0x00000001029b6860 main + 1808
3   libdyld.dylib                 	0x00007fff7de1c3d5 start + 1

Hmmm, but not always. This time, it worked (maybe an uninitialised variable somewhere):

Let's do something useful this weekend, e.g., winning a trophy:

Screenshot 2019-03-30 at 13 12 12

Screenshot 2019-03-30 at 13 12 33

Yeah, I'm ready 😎.

Screenshot 2019-03-30 at 13 12 37

Uh, wait a moment, this is damned fast ☹️. And my opponent is too much on the left.

Screenshot 2019-03-30 at 13 12 46

This is totally unfair. I would have beaten him for sure if the emulator didn't run so fast 😖.

OK, to be honest, I can't remember that I ever won the tournament on my A500 🙄.

@mithrendal
Copy link

Haha. How about raiding castles 🏰 and rescuing princesses? Is that also going much faster now? As far as I remember the princesses were drawn very beautiful.

@dirkwhoffmann
Copy link
Author

As far as I remember the princesses were drawn very beautiful.

Now you know why I'm working so hard on the 4x XBR upscaler in vAmiga 😎.

@mithrendal
Copy link

mithrendal commented Mar 30, 2019

Yep. Truly further blurring the line between fiction and reality. I bet this is the most technical sophisticated form of escapism. En effect only being topped by grand literature like JRR Tolkiens Lord of the Rings.

@h5n1xp
Copy link
Owner

h5n1xp commented Mar 30, 2019

Great stuff! Don’t forget, F5 will switch off the On-Screen indicators and it will also capture the mouse. If you make the window full screen it makes for a very enjoyable experience.

@h5n1xp
Copy link
Owner

h5n1xp commented Apr 1, 2019

Screenshot 2019-03-30 at 12 35 07

Ouuups 😲

This is because my bitplane fetch assumes the bitmap is either 320 or 640 pixels wide. As soon as some game programmer makes the bitmap slightly narrower (to free up Chipram cycles) or slightly wider to fill the overscan area, then we get these “smeared” graphics.

I have an open issue about the beam position, I have tried to write better versions, but they never work as well as what I currently have. I will get it working eventually 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants