Issue 8 discussions...

Nagging hardware related question? Post here!
User avatar
NormanDunbar
Forum Moderator
Posts: 1390
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Issue 8 discussions...

Postby NormanDunbar » Sun Mar 24, 2019 10:01 pm

Is that Orange County Choppers, by any chance? My house mate used to watch that years ago, drove me nuts. A more irritating family would be hard to come by, I suspect. :)

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
Dave
SandySuperQDave
Posts: 2552
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: Issue 8 discussions...

Postby Dave » Mon Mar 25, 2019 12:55 am

It miiiiight be <shifty eyes>

We broke ground on the new video subsystem today. We know enough about what it's going to look like that we can do some prep work and prototyping.

Here's a challenge. Write a BASIC program that gives a benchmark speed or timing as an easy to understand number. I'll run any programs offered on the existing system on a few different QLs, including UK PAL and US NTSC units. I'll then make up a prototype of this video subsystem and do some comparison like for like tests.

Also, because the video subsystem is completely shadowed in SRAM, it's possible to run a QL headless, with no 8301 at all. This would give a good speed boost, and would be ideal for QLNET servers, etc.


User avatar
Dave
SandySuperQDave
Posts: 2552
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: Issue 8 discussions...

Postby Dave » Mon Mar 25, 2019 7:26 am

Cristian wrote:
Nasta wrote:I know only of one game that used screen 1 (don't remember the name but it was an Elite style game with wire frame 3D graphics that used blue/red glasses for viewing).


"Wanderer" maybe?


If anyone has a working copy of this, it would be useful for testing purposes.


stevepoole
Gold Card
Posts: 380
Joined: Mon Nov 24, 2014 2:03 pm

Re: Issue 8 discussions...

Postby stevepoole » Mon Mar 25, 2019 8:40 am

Hi Dave,
Here's a benchmark program I used to time individual code statements (or longer) in 1986 !

It runs best on a standard QL with no extra jobs running, but will work on emulators too. (Just run it empty to tweak the overhead), then include the code you want tested where shown.

It may not be the best program, but it works OK, especially as the timing code is 'at the top'...

Good Luck,
Steve.

________________________

100 ::
110 REMark Code_timer_bas by S.Poole, v20feb2007
120 REMark First run and tweak line 170 overhead=ABS(result),
130 REMark using the largest negative result printed.
140 CLEAR : OPEN#1,con_128: CLS
150 :
160 FOR main=1 TO 10
170 overhead=ABS(0): REMark overhead=ABS(-173604): REMark on QPC2 @ 1.9Ghz
180 REMark Wait for the clock to tick:
190 d=DATE: REPeat loop: IF d<>DATE: d=DATE: EXIT loop
200 :
210 FOR cycles=0 TO 512
220 :
230 REMark no overflows please:
240 FOR COUNT_=0 TO 32767
250 ::
260 REMark Put code to be tested here :
270 :
280 : REMark LET x=RND: REMark short example statement
290 :
300 ::
310 IF d<>DATE: EXIT cycles
320 END FOR COUNT_
330 END FOR cycles
340 PRINT\ overhead-((cycles*32768)+COUNT_)
350 END FOR main
360 ::


User avatar
dex
Trump Card
Posts: 242
Joined: Thu Dec 23, 2010 1:40 pm

Re: Issue 8 discussions...

Postby dex » Mon Mar 25, 2019 10:46 am

"Wanderer" maybe?

If anyone has a working copy of this, it would be useful for testing purposes.

https://www.sellmyretro.com/offer/details/sinclair-ql-space-trading-game%3A-wanderer-in-3d-1994


User avatar
Peter
QL Wafer Drive
Posts: 1232
Joined: Sat Jan 22, 2011 8:47 am

Re: Issue 8 discussions...

Postby Peter » Mon Mar 25, 2019 8:35 pm

Dave wrote:Write a BASIC program that gives a benchmark speed or timing as an easy to understand number. I'll run any programs offered on the existing system on a few different QLs, including UK PAL and US NTSC units. I'll then make up a prototype of this video subsystem and do some comparison like for like tests.


QSBB_BAS, originally from http://www.jadiam.org/QL/QLAY2/
Attachments
qsbb.zip
(636 Bytes) Downloaded 55 times


RWAP
RWAP Master
Posts: 2746
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Issue 8 discussions...

Postby RWAP » Thu Mar 28, 2019 8:31 pm

Dave wrote:
Cristian wrote:
Nasta wrote:I know only of one game that used screen 1 (don't remember the name but it was an Elite style game with wire frame 3D graphics that used blue/red glasses for viewing).


"Wanderer" maybe?


If anyone has a working copy of this, it would be useful for testing purposes.



I will send you a copy of Wanderer


User avatar
Dave
SandySuperQDave
Posts: 2552
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: Issue 8 discussions...

Postby Dave » Thu Mar 28, 2019 9:34 pm

I now have numerous copies of Wanderer. Thank you everyone. :)

I will use it for... ummm. "testing"... Yeah, that's it. "Testing." ;)


stevepoole
Gold Card
Posts: 380
Joined: Mon Nov 24, 2014 2:03 pm

Re: Issue 8 discussions...

Postby stevepoole » Thu Mar 28, 2019 10:15 pm

Hi Dave,
I downloaded and ran QSBB.zip, but unfortunately it is limited to only three code examples.

If you use my code_timer_bas, you can include any code you like where indicated in the listing. Just insert lines and renumber as necessary.

And the program waits for the clock to tick, before counting... and returns a result in one second.

I timed every SuperBasic keyword and operation, and sent a synopsis to Quanta.

I also use it to compare programs on different machines. Just compare ratios of results between the machines you are interested in.

Best wishes,

Steve.


RWAP
RWAP Master
Posts: 2746
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Issue 8 discussions...

Postby RWAP » Thu Mar 28, 2019 10:25 pm

Dave wrote:I now have numerous copies of Wanderer. Thank you everyone. :)

I will use it for... ummm. "testing"... Yeah, that's it. "Testing." ;)


Please remember that Wanderer is still copyright Pyramide. I am the only person who could have sent it to Dave, because I am the authorised distributor!

Please respect the copyright holders



Who is online

Users browsing this forum: No registered users and 10 guests