Search found 2823 matches

by JonAbbott
Sun Feb 01, 2015 4:15 am
Forum: Pi
Topic: Trapping LDR's in page zero
Replies: 9
Views: 7778

Re: Trapping LDR's in page zero

I'm almost done with testing all the known working games on StrongARM. This method of LDR detection seems to be working reliably with no noticeable performance impact. I'll move onto testing on the Pi next week. One thing it has highlighted is that I should probably merge all the instruction decoder...
by JonAbbott
Sat Jan 31, 2015 8:58 am
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14282

Re: ADFFS under emulation

VA5000 however doesn't seem to run a lot of games and simply crashes - this is definitely an issue with the VA5000 JIT. The issue here seems to be with VA5000's implementation of the VIDC chip, any game that changes the screen size through VIDC causes an instant lock. Games that don't touch VIDC wo...
by JonAbbott
Fri Jan 30, 2015 8:24 pm
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14282

Re: ADFFS under emulation

I've looked into this a bit deeper now and it would appear ADFFS doesn't work at all on a machine with 16mb of RAM. I'm not entirely why that is at the minute, but am guessing RISCOS is mapping the memory out without checking if it actually owns it. The workaround is reduce the memory to 8mb, VA5000...
by JonAbbott
Fri Jan 30, 2015 8:04 pm
Forum: Pi
Topic: Trapping LDR's in page zero
Replies: 9
Views: 7778

Re: Trapping LDR's in page zero

Can you work in a runtime configuration flag which switches this read check on / off? Obviously not ideal, but at least it puts the more risky behaviour under the user's control. I'm considering adding a command to turn the check off, but leave it on by default. Although I can fix the bugs, there's...
by JonAbbott
Fri Jan 30, 2015 9:43 am
Forum: Pi
Topic: Trapping LDR's in page zero
Replies: 9
Views: 7778

Re: Trapping LDR's in page zero

JonAbbott wrote:Rotor
I've fixed the bug in Rotor

It tries to write a string to screen, but the string pointer is 0 the first time the game is loaded. I've put a check for zero and it now exits the function if it's not set.
by JonAbbott
Fri Jan 30, 2015 9:33 am
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14282

Re: ADFFS under emulation

I've now tested ADFFS on VA5000 and the crash is occurring in CLib. ADFFS itself doesn't use CLib - it's pure assembler, but ZLib which is used to unzip the floppy images does. I've tried various versions of CLib and they all crash at the same point under VA5000, so I can only presume it's a bug in ...
by JonAbbott
Thu Jan 29, 2015 9:54 pm
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14282

Re: ADFFS under emulation

VA5000's not been available since 2004 or something so it's unsurprising that it's hard to get hold of. It could be an issue with VA5000 - ADFFS does tend to show up shortfalls in emulator accuracy. Every emulator except Arculator has one issue or another, RPCEmu doesn't emulate memory page access ...
by JonAbbott
Thu Jan 29, 2015 8:06 pm
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14282

Re: ADFFS under emulation

(And in case it's important, VA5000 emulates 16mb RAM.) Did you change the memory allocations? ADFFS has a known issue with machines with 16mb of RAM. It's detailed in the "known issues" section: Will not work on a RISC OS 3.1x machine with more than 13mb allocated to application space. T...
by JonAbbott
Thu Jan 29, 2015 10:43 am
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14282

Re: ADFFS under emulation

Running under an emulator should work, I use it mainly under emulation.

Firstly, try the latest beta. If you're still having problems, let me know which game you're trying, and if it's not an official JASPP release email me the floppy image.
by JonAbbott
Wed Jan 28, 2015 10:41 pm
Forum: Pi
Topic: Trapping LDR's in page zero
Replies: 9
Views: 7778

Re: Trapping LDR's in page zero

JonAbbott wrote:what to do about bugs in games?
See this post for details on games that inadvertently access page zero due to bugs.