Search found 2821 matches

by JonAbbott
Fri Jan 30, 2015 8:24 pm
Forum: General
Topic: ADFFS under emulation
Replies: 14
Views: 14087

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: 7756

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: 7756

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: 14087

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: 14087

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: 14087

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: 14087

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: 7756

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.
by JonAbbott
Tue Jan 27, 2015 11:16 pm
Forum: Pi
Topic: Trapping LDR's in page zero
Replies: 9
Views: 7756

Re: Trapping LDR's in page zero

Whilst testing this today, it's highlighted an interesting question - what to do about bugs in games? The second game I tested (Fire & Ice) tries to read from a variable it's yet to define and ends up reading from page zero. This is a problem because the JIT reports any read from a page zero add...
by JonAbbott
Tue Jan 27, 2015 1:14 am
Forum: ADFFS
Topic: RO5.x IOMD
Replies: 4
Views: 4536

Re: RO5.x IOMD

Both Zarch and Jet Fighter worked, games that write to VIDC1 aren't working though, which may be due to IRQ1V being directly modified by the game - or an issue along the line mentioned in the OP. The issue looks like it's IRQ1V not being called when T1 triggers, I suspect HAL_Timer intercepts the I...