Search found 2804 matches
- Fri Apr 18, 2014 6:35 pm
- Forum: Pi
- Topic: Codelet recycling
- Replies: 5
- Views: 4676
Re: Codelet recycling
At the moment, memory allocated to codelets is leaked (until the JIT is reset) when the original instruction they implement is overwritten by either self-modifying code or by loading data/code over them. Its not an issue for most games, ones that continually self-modify however run out of codelet sp...
- Tue Apr 15, 2014 10:29 am
- Forum: Pi
- Topic: Codelet recycling
- Replies: 5
- Views: 4676
Codelet recycling
Changes required to implement codelet recycling: GOARM3JIT needs to initialize the codelet "firstfree" pointer (coded) GOARM3JIT needs to initialize the first codelet heap entries (coded) CODELET macros need to scan for a free codelet block big enough for the requested codelet size (coded)...
- Sun Apr 13, 2014 10:55 pm
- Forum: Pi
- Topic: Codelet reentrancy
- Replies: 4
- Views: 3922
Codelet reentrancy
To fix Chuck Rock, Cannon Fodder and a few other games, codelets need to either be reentrant or execute with IRQ's disabled. The core problem is that most codelets require working registers and to preserve the existing register they need to be stored somewhere. They can't be stacked as a stack may n...
- Sun Apr 13, 2014 12:44 pm
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
2067BC hangs sometimes when starting the first level. Pac-mania works again. Yay! I'll re-test all other games ASAP to look for regressions. I need to wrap up development and release 2.42 by the end of next week. I'll be doing a few months work to fund another year of development, so will need to p...
- Sun Apr 13, 2014 11:11 am
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
The issue with Pac-mania is fixed in the latest dev build. Sound_InstallVoice calls the Instantiate entry of the Voice Generator its installing, that was in turn calling Sound_Configure - both SWI's are hypervised and the hypervisor doesn't support SWI re-entrancy. It was a simple matter of changing...
- Sat Apr 12, 2014 11:37 pm
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
Pac Mania now fails with a data transfer error. The issue is in the Instantiate code for Voice Generator 1. It calls Sound_Configure to get the OS's log table address and then fails to exit properly. What I don't understand is that Voice Generators 2-4 are identical to 1 and they work okay. EDIT: T...
- Sat Apr 12, 2014 5:37 pm
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
Pac Mania now fails with a data transfer error. I'll look into it 2067BC shows HEAVY flickering in-game, to the point it's unplayable Interesting you should say that as I was expecting it to flicker but was surprised to see it didn't on my Pi. sometimes it hangs on a screen with a floppy disk with ...
- Sat Apr 12, 2014 11:31 am
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
Mr Doo also works, I've added a Boot script for it in the latest Obey.zip. It actually works natively*, provided you fix the bug on line 80: !Vu=1 should be F%!Vu=1 :roll: The inbuilt Voice Generator is hardcoded for a 208 byte sound buffer, so sounds bad at the minute. It's written in BASIC so coul...
- Fri Apr 11, 2014 7:27 pm
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
2067BC now works on the latest dev build. The sound is bad due to the buffer size difference, but that will get resolved in due course.
- Thu Apr 10, 2014 10:05 am
- Forum: ADFFS
- Topic: ADFFS 2.41 beta
- Replies: 26
- Views: 18149
Re: ADFFS 2.41 beta
It is sound related and highlighted two bugs which I've now fixed. It's working on StrongARM, but still failing on the Pi so more debugging required. I believe its now fixed, Magic Pockets seems to be working okay on the Pi again. It's on the dev site if you'd like to double check. EDIT: This has s...