I've got all the functionality of a 48K speccy in BOB. All that's left for
the basic version is to get the timing right.
What I'm after is some little programs (The smaller the better - I'll be
constantly reseting and reloading them) that produce things like static
horizontal and vertical colour bars in the border so I can sort out the
interupt/display timing.
Can anyone suggest such a program?
Mike W
Certainly is - rescued from my daughters bedroom and a life of Teletubby and
Tweenie tapes.
Mike W
10 PAUSE 1:BORDER 0:BORDER 1:BORDER 2: BORDER 3: BORDER 4:
BORDER 5: BORDER 6: BORDER 7: BORDER 0: BORDER 1: BORDER 2:
GO TO 10
Aye, done that one already.
Cheers.
Mike W
10 BORDER 6: BORDER 1: BORDER 2: BORDER 3: BORDER 4: BORDER 5: BORDER 6:
BORDER 7: BORDER 0: PAUSE 1: GO TO 10
20 CLS : PRINT "01234567890123456789012345678901";
30 FOR n=0 TO 21: PRINT AT n,0;n;AT n,30;n: NEXT n
40 GO TO 10
GO TO 20
A real 48K Spectrum produced the following picture:
http://www.speccybob.2y.net/pics/speccy.jpg
SpeccyBob did:
http://www.speccybob.2y.net/pics/bob.jpg
Whereas RealSpec did
http://www.speccybob.2y.net/pics/rspec.gif
(Excuse the bad photography).
And here's the interesting thing - check where the border changes from black
to yellow in the top border. The real Speccy and Bob change between the 0
and 1, whereas Realspec change between the 9 and 0....
BTW, I'm using Realspec 0.92.16 (48K Spectrum mode) under WinXP.
Mike W
>SpeccyBob did:
>
>http://www.speccybob.2y.net/pics/bob.jpg
How many Tstates after the interrupt pass before SpeccyBob displays
the first top-left border pixel?
>Whereas RealSpec did
>
>http://www.speccybob.2y.net/pics/rspec.gif
>
>(Excuse the bad photography).
>
>And here's the interesting thing - check where the border changes from black
>to yellow in the top border. The real Speccy and Bob change between the 0
>and 1, whereas Realspec change between the 9 and 0....
MDA demo displays slightly differently on Realspec than it does on a
+2 as well. Realspec is certainly the most accurate emulator but it
ain't 100% accurate.
I'm saying no more though else I'll be getting into trouble with
Ramsoft :)
What do you mean by "first top-left border pixel"?. Different monitors/TVs
will display slightly different images, so the most "top left" pixel on one
monitor will be different from another. I suppose the earliest possible
pixel would be straight after the vertical blanking period on line 12 but I
doubt you'd see it on most displays.
> I'm saying no more though else I'll be getting into trouble with
> Ramsoft :)
heh.. Realspec is a great piece of software no doubt about that, but there's
always room for improvement.
Mike W
>What I'm after is some little programs (The smaller the better - I'll be
>constantly reseting and reloading them) that produce things like static
>horizontal and vertical colour bars in the border so I can sort out the
>interupt/display timing.
>
>Can anyone suggest such a program?
Okay, here's some which might be of use - all available from my
website...
No More Intelligence 3 (part 6, in particular) - horizontal/vertical
pattern in the upper border. Also part 3, but the timing on that isn't
perfect in the first place
4K Intro by Omedron / Dromega - horizontal bars right across the
screen
Living Shit - same sort of thing, but simpler effect
Overscan - Loads of horizontal-bar-effects, but the timing needs to be
spot on for it to run at all - AFAIK RealSpectrum, R80 and ZX32 are
the only emulators that can do it. Get this one working, and you've
cracked it :-)
Actually, I can easily put together a quick program to do what you're
after - border effects are dead easy to do, really.
--
Matthew Westcott - CSSfiance to Nattie
http://www.zxdemo.org/ - the somewhat less broken
home of the Spectrum demo scene
>
>"Woody" <mark.w...@nospam.ntlworld.com> wrote in message
>news:npbertcp1d3dju2co...@4ax.com...
>> How many Tstates after the interrupt pass before SpeccyBob displays
>> the first top-left border pixel?
>
>What do you mean by "first top-left border pixel"?. Different monitors/TVs
>will display slightly different images, so the most "top left" pixel on one
>monitor will be different from another. I suppose the earliest possible
>pixel would be straight after the vertical blanking period on line 12 but I
>doubt you'd see it on most displays.
Sorry, I meant to say top left screen pixel, not border.
The FAQ states,
"If we forget about the screen for a moment, if you OUT to port FE
after 14336 to 14339 T states (including the OUT) from the start of
the IM 2 interrupt routine, the border will change at exactly the
position of byte 16384 of the screen."
Techinfo file (from Z80 emulator) states,
"If we forget about the screen for a moment, if you OUT to port FE
after 14326 to 14329 T states (including the OUT) from the start of
the IM 2 interrupt routine, the border will change at exactly the
position of byte 16384 of the screen."
Both statements are identical except for the timings.
I was just curious as to which is right.
>Overscan - Loads of horizontal-bar-effects, but the timing needs to be
>spot on for it to run at all - AFAIK RealSpectrum, R80 and ZX32 are
>the only emulators that can do it. Get this one working, and you've
>cracked it :-)
My SpecEmu emulator displays the Overscan demo perfectly in 48K mode
but there are some minor glitches in 128K mode.
Is it intended for 48K only or have I fooked up with my timings
somewhere?
Aha - makes more sense now..
> The FAQ states ...after 14336 to 14339 T states ...
> (from Z80 emulator) ...14326 to 14329 T states...
> Both statements are identical except for the timings.
> I was just curious as to which is right.
OK, here's my calculations:
The Interupt is generated directly by the Vertical sync pulse which occurs
at the start of line 0. The Video enable (Which signals the output of
pixels to the display) occurs at the start of line 64. Since each line is
224 T-states long there is 14336 T-states (64*224) between the interupt
occuring and the start of the display. Of course you have to take into
account the fact that the Z80 finishes executing whatever instruction it
taking place before handling the interupt etc.
I'd say that the FAQ is correct in this instance.
Mike W
--
Want to build your own speccy?
http://www.speccybob.2y.net/
Personally, I would very strongly favour the FAQ. I don't actually
remember doing this one, but the few bits where I have changed the
information from techinfo.doc have either been obvious typos or checked
pretty thoroughly.
Phil
--
Philip Kendall <pa...@srcf.ucam.org>
http://www.srcf.ucam.org/~pak21/
Impossible! Realspec is *guaranteed* 100% accurate!
> Storming project Mike. The piccies bring back memories! Is that a
> WHSmith branded tape player? I have one exactly like it, currently in
> use playing Bob the Builder tapes for the ankle biters
Ye Gods! Did *everyone* have a WH Smith tape recorder?
-Stef
--
New to Speccy emulation? Read this group's FAQ at:
<URL:http://www.srcf.ucam.org/~pak21/cssfaq/index.html>
>It's a well-known fact that Ian Rutson liked to drone on endlessly. On
>28 Sep 2001 in
>news:Mc7t7.10258$3Q5.1...@news2-win.server.ntlworld.com, I was proved
>correct:
>
>> Storming project Mike. The piccies bring back memories! Is that a
>> WHSmith branded tape player? I have one exactly like it, currently in
>> use playing Bob the Builder tapes for the ankle biters
>
>Ye Gods! Did *everyone* have a WH Smith tape recorder?
I did, they were certainly popular!
> It's a well-known fact that Ian Rutson liked to drone on endlessly.
> On 28 Sep 2001 in
> news:Mc7t7.10258$3Q5.1...@news2-win.server.ntlworld.com, I was
> proved correct:
>
>> Storming project Mike. The piccies bring back memories! Is that
>> a WHSmith branded tape player? I have one exactly like it,
>> currently in use playing Bob the Builder tapes for the ankle
>> biters
>
> Ye Gods! Did *everyone* have a WH Smith tape recorder?
Nope. I had a Ferguson, which loaded just about everything. Even
my dodgy copy of Kokotoni Wilf.
Lovely mono tape recorder.
--
Derek Jolly (derek...@deadspam.com) Web: http://rivet.50megs.com/
comp.sys.sinclair folklore FAQ: http://rivet.50megs.com/cssfolk.html
Change 'deadspam' to 'sage' in my e-mail address to contact me.
Random POKE of the day: 23582,162
> I've got all the functionality of a 48K speccy in BOB. All that's left for
> the basic version is to get the timing right.
You are indeed a fine and outstanding man.
Any ideas on possibilities of teeny-weeny speccy hardware that could be
gameboy-ized much like that guy did with a 2600 and a pocket telly?
I'm just thinking that there's little enough hardware in a speccy to
make it possible?
Or am I just fantasising about having a speccy in my pocket at all
times[1]?
Dave
[1] f'nar, etc.
>My SpecEmu emulator displays the Overscan demo perfectly in 48K mode
>but there are some minor glitches in 128K mode.
>Is it intended for 48K only or have I fooked up with my timings
>somewhere?
Oh, I've definitely had it working on my +2, complete with
AY-chippified Jean Michel Jarre soundtrack.
> Previously, on comp.sys.sinclair, Stef Robb said
[snip]
>> Ye Gods! Did *everyone* have a WH Smith tape recorder?
> Nope. I had a Ferguson, which loaded just about everything. Even my dodgy
> copy of Kokotoni Wilf.
Really? You didn't need a Spectrum?
--
| Darren Salt anti-UCE | nr. Ashington, | d youmustbejoking,demon,co,uk
| Spec+3, Risc PC, A3010 | Northumberland | s zap,tartarus,org
| BBC M128, Linux PC | Toon Army | @ retrospec,co,uk
| Z80Em and 6502Em Support Packs. AY sound support.
I am a man - nothing human is alien to me.
The +2 is inaccurate, therefore reality is inaccurate. This court rules,
therefore, that reality be removed from all present...
What do you mean, that's already been done?
--
| Darren Salt anti-UCE | d youmustbejoking,demon,co,uk | nr. Ashington,
| Spec+3, Risc PC, A3010 | s zap,tartarus,org | Northumberland
| BBC M128, Linux PC | @ retrospec,co,uk | Toon Army
| Is your newsreader well behaved? <URL:http://www.newsreaders.com/gnksa/>
What a friend we have in cheeses.
>> Storming project Mike. The piccies bring back memories! Is that a
>> WHSmith branded tape player? I have one exactly like it, currently in
>> use playing Bob the Builder tapes for the ankle biters
> Ye Gods! Did *everyone* have a WH Smith tape recorder?
I know I did...
--
______________________________________________________________________________
| spi...@freenet.co.uk | |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!" |
| in | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
| Computer Science | - Father Jack in "Father Ted" |
------------------------------------------------------------------------------
>I had a Ferguson, which loaded just about everything. Even
>my dodgy copy of Kokotoni Wilf.
My mates at school always used to refer to that game as Kokotoni Wolf!
--
The Machine
T YS without JSW, 10:1
(Take out the turrets to e-mail)
>>I had a Ferguson, which loaded just about everything. Even
>>my dodgy copy of Kokotoni Wilf.
>
> My mates at school always used to refer to that game as Kokotoni Wolf!
So did I, until I borrowed it off someone at school, tried to get it to load
317 times with various adjustments of volume and tweakings of azimuth[1],
and then when it did work I wished I hadn't bothered. I now call it
"Krapaloada Wank".
[1]Whatever that is...
Lee
--
Replace shithotmail with btinternet to reply.
> So did I, until I borrowed it off someone at school, tried to get it to load
> 317 times with various adjustments of volume and tweakings of azimuth[1],
>
> [1]Whatever that is...
It fine-adjusts the amount of chuntey flow between the tape and the
Speccy.
Chuntey is like radioactive elements - it gradually decays. This is
why old tapes don't load as often as new ones.
Chris
--
+-------------------------------------------+
| Unsatisfactory Software - "because it is" |
| http://www.unsatisfactory.freeserve.co.uk |
| Your Sinclair: A Celebration |
+-- http://www.ysac.cjb.net/ --ICQ:28784166-+
Thereos wasus a planius for a "SpecBoy" muchos moonius ago. But it
never happened.
/|ndy|< / deKay
--
o /|ndy's Lofi Gaming -- www.lofi-gaming.org.uk o
/ Emulation * News * Reviews * Museum * Speccy \
-[ My computer runs at 3.5MHz and I'm proud of that ]-
\ Fave game this week: Sonic Adventure 2 (Dreamcast) /
o May the chuntey be with you! o
I've added a few more screenshots to the pics section of the site:
http://www.speccybob.2y.net/pics/
And as you can see Bob's not that late now. To be honest, I think this is
about as good as the timing is gonna get without redesigning large chunks of
it.
So, I'll be tidying up the circuit diagrams and sticking them up this week.
Then I can really get to work on the enhanced version.
Mike W
--
http://www.speccybob.2y.net/
> I demand that Derek Jolly may or may not have written...
>
>> Previously, on comp.sys.sinclair, Stef Robb said
> [snip]
>>> Ye Gods! Did *everyone* have a WH Smith tape recorder?
>
>> Nope. I had a Ferguson, which loaded just about everything. Even
>> my dodgy copy of Kokotoni Wilf.
>
> Really? You didn't need a Spectrum?
No, just a pair of headp@!$*@NO CARRIER
--
Derek Jolly (derek...@deadspam.com) Web: http://rivet.50megs.com/
comp.sys.sinclair folklore FAQ: http://rivet.50megs.com/cssfolk.html
Change 'deadspam' to 'sage' in my e-mail address to contact me.
Random POKE of the day: 23595,84
Mike,
If you can get a PCB layout done, preferably single sided but double
sided is ok, I can make up a batch of boards if people are interested.
cheers
Dave
Ok, who remembers the 'NORMAL/COMPUTE MODE ON' switch that made bugger all
difference to whether anything loaded?
have I been doing something totally wrong for the past 19 years?
I always thought that the NORMAL/COMPUTER mode selected between the DIN plug
and the microphone socket when you were recording things?
That's because it was for recording, not playback ;)
--
Jeff Braine
Senior Unix System Engineer
Griffith University, Nathan Campus
> have I been doing something totally wrong for the past 19 years?
>
> I always thought that the NORMAL/COMPUTER mode selected between the DIN plug
> and the microphone socket when you were recording things?
It definately effected the recording, but AFAICR, it was do do with
recording level/bias not which socket.
Ahha. I knew I should have read that erm... book like thingy....
whadyacallit.... you know them pieces of paper that fall out of the box onto
the floor when you're dying to use your new gizmo....
> have I been doing something totally wrong for the past 19 years?
> I always thought that the NORMAL/COMPUTER mode selected between the DIN plug
> and the microphone socket when you were recording things?
I think it used some kind of optimised filter....
dunno, but it didn't work too well with the speccy...
Might have with other machines though.
--
| |What to do if you find yourself stuck in a crack|
| spi...@freenet.co.uk |in the ground beneath a giant boulder, which you|
| |can't move, with no hope of rescue. |
|Andrew Halliwell BSc(hons)|Consider how lucky you are that life has been |
| in |good to you so far... |
| Computer Science | -The BOOK, Hitch-hiker's guide to the galaxy.|
Oh, it made a difference to me.....
Turn it off and it loaded fine. :)
--
______________________________________________________________________________
| spi...@freenet.co.uk | "I'm alive!!! I can touch! I can taste! |
|Andrew Halliwell BSc(hons)| I can SMELL!!! KRYTEN!!! Unpack Rachel and |
| in | get out the puncture repair kit!" |
| Computer Science | Arnold Judas Rimmer- Red Dwarf |
------------------------------------------------------------------------------
Ahem... yes... Well... It was yonks ago...
But I can't remember if recording with it on made a difference now....
I got rid of that tape in 84 when I sold my speccy to bye a QL...
(Don't worry, I did still nip round me friends house to play on it, and got
a 128 4 years later)
> Oh, it made a difference to me.....
> Turn it off and it loaded fine. :)
Indeed.
<sudden change in topic>
What happened regarding the pocket Bob discussions?
I keep running off just as things get interesting on #speccy, for which
I apologise most whole-heartedly.
</s-c-i-t>
Dave
> Indeed.
> <sudden change in topic>
At what point did you leave again???