English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.OtherUAE (https://eab.abime.net/forumdisplay.php?f=54)
-   -   Need help with UAE4All2 development on Switch (https://eab.abime.net/showthread.php?t=94981)

rsn8887 04 November 2018 17:50

Need help with UAE4All2 development on Switch
 
I am at a point where I don't understand the Amiga enough to further debug UAE4all2 on Switch:

- The emulation starts into a black screen, status bar shows CPU usage 30% fluctuating. When sound is on, fps shows ~47. When sound is off, fps shows perfect 50.

- There is just an endless black screen, no Amiga Workbench disk ever shows up

- Also, the disk lights are not changing, so the OS is not even checking for disks

- Here is the code and instructions:
https://github.com/rsn8887/uae4all2/tree/switch

- Here is the commit where I thought it should make it work:
https://github.com/rsn8887/uae4all2/...3840c9eded6986

I suspect it is some bug that causes the emulator to not execute the boot process in kick rom correctly. I just don't understand how to even debug this problem. The emulator is not crashing, just staying at a black screen forever as soon as I leave the menu and start the emulation.

rsn8887 04 November 2018 23:37

I got it to work! It was a timing problem. I switched to svcGetSystemTick() instead of clock_gettime()!!!

https://i.postimg.cc/ZY3zCWsR/uae4all2-switch.jpg

dalek 04 November 2018 23:53

very cool!


All times are GMT +2. The time now is 21:50.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04416 seconds with 11 queries