|
Over the summer V: Oh god not another Rocky movie |
|
This is a long thread. Click here to view the threaded list. |
|
Jeffrey Lee |
Message #79308, posted by Phlamethrower at 22:14, 27/8/2006, in reply to message #79304 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Hmm, seems to be checking a block of 128 rows per update. Guess I should improve on that (unless Adrian has done it for me?) |
|
[ Log in to reply ] |
|
JMB |
Message #79327, posted by jmb at 01:13, 28/8/2006, in reply to message #79304 |
Member
Posts: 467
|
And it doesn't help that Netsurf is dithering colours Use a non-shonky screenmode, then |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79342, posted by Phlamethrower at 13:51, 28/8/2006, in reply to message #79327 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Cursor support is in!
But currently crashes Avalanche |
|
[ Log in to reply ] |
|
Michael Drake |
Message #79344, posted by tlsa at 14:10, 28/8/2006, in reply to message #79342 |
Posts: 1097
|
I use the 0.14 beta of Avalanche, as I got some corruption when dragging windows with 0.12.
I've found the 0.14 beta very stable, connecting to a Linux VNC server. I don't use a RISC OS VNC server, though. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79345, posted by Phlamethrower at 14:13, 28/8/2006, in reply to message #79342 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
It's working! (better)
Currently it's only the silhouette of the cursor (I need to write some code that pisses around converting the colours to the right colours for the remote machine etc.), and the shape isn't displayed right on Avalance (I think this is a bug in avalance, but don't appear to have any other VNC clients handy that support the Cursor encoding) |
|
[ Log in to reply ] |
|
Michael Drake |
Message #79346, posted by tlsa at 14:25, 28/8/2006, in reply to message #79345 |
Posts: 1097
|
Have you had a look at PicoDrive?
Since it's 68000 emulation is in ARM assembly I'd hope it could play Megadrive games like Sonic 2 and Micro Machines at full speed on an Iyonix. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79347, posted by Phlamethrower at 14:34, 28/8/2006, in reply to message #79346 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Micro Machines? Iyonix?
*goes to have a look* |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79348, posted by Phlamethrower at 14:51, 28/8/2006, in reply to message #79347 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
The CPU core (Cyclone) can (allegedly) already be compiled on GCC, so that's a good start.
The emulator core (Pico) looks fairly platform independent, and even includes a makefile for GCC (Although whether it's accurate is another matter)
The emulator frontend (PicoDrive) is all the pocketPC specific gubbins, but as there's only 15k of source it shouldn't be too hard to knock up a RISC OS version. |
|
[ Log in to reply ] |
|
Michael Drake |
Message #79349, posted by tlsa at 15:04, 28/8/2006, in reply to message #79348 |
Posts: 1097
|
The CPU core (Cyclone) can (allegedly) already be compiled on GCC, so that's a good start.
The emulator core (Pico) looks fairly platform independent, and even includes a makefile for GCC (Although whether it's accurate is another matter)
The emulator frontend (PicoDrive) is all the pocketPC specific gubbins, but as there's only 15k of source it shouldn't be too hard to knock up a RISC OS version. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79350, posted by Phlamethrower at 15:15, 28/8/2006, in reply to message #79349 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Of course, the assembler Cyclone produces isn't the same syntax as the RISC OS version of as
I can't be bothered installing the latest cross compiler to see if that can be used to produce an AOF, so I guess I'll just hack the Cyclone source until it works (And then hope that the Iyonix memory bus supports LDRH/STRH!)
[edit]
The good news, however, is that it does use APCS
[Edited by Phlamethrower at 15:19, 28/8/2006] |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79351, posted by Phlamethrower at 15:23, 28/8/2006, in reply to message #79350 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
This is rather confusing.
Cyclone uses the 'ms' flag to decide whether to produce assembler output for the microsoft or GCC compiler. Yet the microsoft syntax seems to be closer to the syntax as expects on RISC OS |
|
[ Log in to reply ] |
|
Adrian Lees |
Message #79352, posted by adrianl at 15:24, 28/8/2006, in reply to message #79350 |
Member
Posts: 1637
|
And then hope that the Iyonix memory bus supports LDRH/STRH! Yes, of course it does. Apparently it can even transfer whole words of data. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79353, posted by Phlamethrower at 15:27, 28/8/2006, in reply to message #79352 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Compiling it with the microsoft syntax works
And then hope that the Iyonix memory bus supports LDRH/STRH! Yes, of course it does. Apparently it can even transfer whole words of data. Yay (Unless that's some kind of evil sarcastic answer that really means LDRH/STRH don't work) |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79355, posted by Phlamethrower at 15:50, 28/8/2006, in reply to message #79353 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I have compiled Pico!
Now to work out the frontend bit |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79359, posted by Phlamethrower at 16:55, 28/8/2006, in reply to message #79355 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I have written a frontend!
Pico is crashing |
|
[ Log in to reply ] |
|
Michael Drake |
Message #79361, posted by tlsa at 17:08, 28/8/2006, in reply to message #79359 |
Posts: 1097
|
I have written a frontend! That was quick. Pico is crashing |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79365, posted by Phlamethrower at 17:12, 28/8/2006, in reply to message #79361 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I have written a frontend! That was quick. Well, it doesn't do any input reading, sound processing or framerate management, and just writes the screen output to the top-left of the screen (in 16bpp/32bpp modes). Except it doesn't get as far as drawing the first frame yet |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79366, posted by Phlamethrower at 17:13, 28/8/2006, in reply to message #79365 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
It's Cyclone that's crashing! Wah! |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79369, posted by Phlamethrower at 17:46, 28/8/2006, in reply to message #79366 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Or rather: It's the Pico memory access functions that Cyclone calls that are crashing.
This is presumably an APCS related problem... |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79370, posted by Phlamethrower at 17:56, 28/8/2006, in reply to message #79369 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
It uses R10. Wah!
Guess I'll try compiling some files with -mno-apcs-stack-check |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79373, posted by Phlamethrower at 18:15, 28/8/2006, in reply to message #79370 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I have a black rectangle on my screen! Yay!
Now to work out why it remains black |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79383, posted by Phlamethrower at 18:35, 28/8/2006, in reply to message #79373 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
The CPU runs 226 cycles then stalls. Either (a) it's waiting for something (maybe I need to fiddle around with the sound support?), or (b) it's crashed.
Does anyone have any ROMs that are confirmed to work with the emulator? At the moment I'm trying some random PD ones, and so have no idea if they will actually work. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79384, posted by Phlamethrower at 18:50, 28/8/2006, in reply to message #79383 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
*wonders how his Copy$Options got N*
Anyway, after succesfully overwriting the test ROM image with the other ones, I've found one ROM that runs many cycles before stalling. But still doesn't produce any output! Wah!
Since is the one who suggested I port it, I guess he has some ROMs knocking around? |
|
[ Log in to reply ] |
|
Michael Drake |
Message #79385, posted by tlsa at 19:25, 28/8/2006, in reply to message #79384 |
Posts: 1097
|
Maybe http://romhustler.net/roms/genesis - doesn't work in NS though. It might require javascript.
Also, : you have mail.
[Edited by tlsa at 19:26, 28/8/2006] |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79386, posted by Phlamethrower at 19:28, 28/8/2006, in reply to message #79385 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Yay! |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79387, posted by Phlamethrower at 19:34, 28/8/2006, in reply to message #79386 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Still won't work (In fact one of the ones you sent me crashes), so I guess it's still a problem at my end of things.
I had a quick look at the disassembly for the functions Cyclone calls, and they don't appear to clobber any important registers, so I guess I'll have to look elsewhere (like this new crash)
Also I need to add to my list "Fix that netsurf bug that prevents you from dragging the file icon from a download popup" |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79389, posted by Phlamethrower at 19:51, 28/8/2006, in reply to message #79383 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
(b) it's crashed. This.
For whatever reason, it's trying to execute an unrecognised opcode. So I'm guessing it's still a problem with those C functions it tries to call. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79396, posted by Phlamethrower at 21:10, 28/8/2006, in reply to message #79389 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Hmm, even with the memory access functions disabled it still crashes soon after starting |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #79401, posted by Phlamethrower at 23:54, 28/8/2006, in reply to message #79396 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
So I take it we don't have any resident 68000 assembler experts who'll be able to point out where in the execution it's going wrong? |
|
[ Log in to reply ] |
|
Adrian Lees |
Message #79416, posted by adrianl at 01:13, 29/8/2006, in reply to message #79401 |
Member
Posts: 1637
|
So I take it we don't have any resident 68000 assembler experts who'll be able to point out where in the execution it's going wrong? Well, I've done some 68K assembler, but really if you can get the state of the emulator after each instruction, it should be pretty easy to track down what's broken if it fails after so few cycles. Trust me, the real fun is when your emulator has run many millions of instructions and then produced a soft failure such as incorrect results or - as in the case of StrongED running under early versions of Aemulor - occasional shifting of the displayed characters a few pixels to the left. |
|
[ Log in to reply ] |
|
Pages (10): |< <
3
> >|
|