|
No games for Iyonix |
|
This is a long thread. Click here to view the threaded list. |
|
Jeffrey Lee |
Message #29238, posted by Phlamethrower at 14:10, 21/1/2003, in reply to message #29225 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
You mention an extra 150 SWIs per second, but at what frame rate? 75fps? In a game running on an RPC 600? You must be a genius if you can do that
Anyway, the fact is that I prefer the safe method. Plus I'm sure that once when I tried bank switching without calling OS_ReadVduVariables it didn't switch banks properly; it may have just been my dodgy code though.
(And anyone still using an RPC 600 should upgrade to an Iyonix ) |
|
[ Log in to reply ] |
|
JMB |
Message #29248, posted by jmb at 14:29, 21/1/2003, in reply to message #29238 |
Member
Posts: 467
|
(And anyone still using an RPC 600 should upgrade to an Iyonix ) /me has |
|
[ Log in to reply ] |
|
John Hoare |
Message #29251, posted by moss at 14:30, 21/1/2003, in reply to message #29248 |
Posts: 9348
|
(And anyone still using an RPC 600 should upgrade to an Iyonix ) /me has /me kills you and nicks it |
|
[ Log in to reply ] |
|
JMB |
Message #29255, posted by jmb at 14:33, 21/1/2003, in reply to message #29251 |
Member
Posts: 467
|
aw |
|
[ Log in to reply ] |
|
John Hoare |
Message #29258, posted by moss at 14:36, 21/1/2003, in reply to message #29255 |
Posts: 9348
|
|
|
[ Log in to reply ] |
|
JMB |
Message #29278, posted by jmb at 15:10, 21/1/2003, in reply to message #29258 |
Member
Posts: 467
|
It's being delivered tomorrow |
|
[ Log in to reply ] |
|
Tony Haines |
Message #29298, posted by Loris at 15:55, 21/1/2003, in reply to message #29238 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
You mention an extra 150 SWIs per second, but at what frame rate? 75fps? In a game running on an RPC 600? You must be a genius if you can do that Well I made it up, but why do you say that? It is only 50% faster than the old standard of 50Hz, so I'd have thought it would be eminently possible to have a slightly faster Mode13 equivalent. Depending on what you are doing of course.
Anyway, the fact is that I prefer the safe method. Plus I'm sure that once when I tried bank switching without calling OS_ReadVduVariables it didn't switch banks properly; it may have just been my dodgy code though. Well since I've never used it for the purpose you describe I'd suspect the latter. To be honest I'd be suprised if anything moved a screenbank around between demands on it. With 2 screenbanks there would only be a tiny gap between its use as display and as write.
Just had a thought. There is a call (OS_Word,22) or something which lets you set the position of the display screen. Somehow I doubt it will work on Iyonix, so that will kill off games which use hardware scrolling. |
|
[ Log in to reply ] |
|
Tony Haines |
Message #30152, posted by Loris at 10:36, 27/1/2003, in reply to message #29041 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
Increased screen memory from the 0KB default (???) to something large and then tried again. Bank switching works because the cursor appears on one bank but not the other, but there's nothing drawn on either bank. I keep meaning to post a new test program using Phlamethrowers method, but I keep forgetting the disk. But hopefully I'll manage it tonight. |
|
[ Log in to reply ] |
|
Tony Haines |
Message #30377, posted by Loris at 09:59, 29/1/2003, in reply to message #30152 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
Simon, here is the updated BASIC screenbank test program. It is a bit larger this time because I've had to do a bit more mucking about, but I didn't bother to claim any screen memory so please reserve at least 160k before running it. (You are probably going to have at least this anyway.)
As before, you should see a single white dot moving in the center of the screen when you press a button Hope it works on Iyonix.
ON ERROR MODE13:REPORT:PRINT" at line ";ERL:END MODE 13+128 DIM modeblock% 16 modeblock%!0=148 modeblock%!4=-1
REM get screen start position for banks 1 & 2 readscrstart%=modeblock%+8 FOR i%=1 TO 2 SYS"OS_Byte",112,i% SYS"OS_ReadVduVariables",modeblock%,readscrstart% REM clear screen scrstart%=!readscrstart% FOR j%=0 TO 320*256 STEP 4 scrstart%!j%=0 NEXT readscrstart%+=4 NEXT
REM now have start of screenbanks 1 & 2 in addresses modeblock%+8 and modeblock%+12
bank%=2 REPEAT REM change display bank SYS"OS_Byte",113,bank% scrstart%=!(modeblock%+4+4*bank%) REM change scrstart%?(320*128+160+bank%*2)=255 A=GET bank%=3-bank% UNTIL INKEY(-1) |
|
[ Log in to reply ] |
|
Simon Wilson |
Message #30455, posted by ksattic at 18:43, 29/1/2003, in reply to message #30377 |
Finally, an avatar!
Posts: 1291
|
It works fine!
Shame I had to use my PC to copy-and-paste the code though because Oregano2 can't yet save web pages! |
|
[ Log in to reply ] |
|
Tony Haines |
Message #30494, posted by Loris at 12:51, 30/1/2003, in reply to message #30455 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
It works fine! Horray! Thus fell my concerns about the new graphics system.
Shame I had to use my PC to copy-and-paste the code though because Oregano2 can't yet save web pages! Bizarre. |
|
[ Log in to reply ] |
|
Pages (2): |< <
2
|