CPCWiki forum

General Category => Other retro => Topic started by: ralferoo on 10:07, 11 August 22

Title: Area 5150
Post by: ralferoo on 10:07, 11 August 22
Amazing CGA (6845-based) demo for the IBM PC 5150

https://www.youtube.com/watch?v=-xJZ9I4iqg8
https://www.pouet.net/prod.php?which=91938

Scali's written up a blog post about it here: https://scalibq.wordpress.com/2022/08/08/area-5150-8088-mph-gets-a-successor/
Title: Re: Area 5150
Post by: Gryzor on 10:38, 11 August 22
Oh that was nice. 
Title: Re: Area 5150
Post by: pelrun on 11:32, 11 August 22
Turns out CGA has a 6845 CRTC, so there's quite a bit in common here with demos on the CPC. It's a type 2 though :laugh: (edit: just noticed ralferoo mentioned this already...)

I was hanging out with cTrix while he was composing the credits tune for this, it's a banger. Player is writing out a single sample per scanline, and the pc speaker hardware is only supposed to be a beeper!
Title: Re: Area 5150
Post by: MaV on 16:32, 12 August 22
Mindblowing for a 5150 machine!
Title: Re: Area 5150
Post by: andycadley on 17:27, 12 August 22
Genuinely impressive stuff.
Title: Re: Area 5150
Post by: ralferoo on 18:15, 13 August 22
Quote from: pelrun on 11:32, 11 August 22Turns out CGA has a 6845 CRTC, so there's quite a bit in common here with demos on the CPC. It's a type 2 though :laugh: (edit: just noticed ralferoo mentioned this already...)

I was hanging out with cTrix while he was composing the credits tune for this, it's a banger. Player is writing out a single sample per scanline, and the pc speaker hardware is only supposed to be a beeper!
Hadn't thought of that, but would make sense as it'd be a single bit at 15kHz.

> edit: just noticed ralferoo mentioned this already...

Heh yeah, one of the coders of this is in our demo group and we used to chat about the 6845 a lot.
Title: Re: Area 5150
Post by: pelrun on 08:38, 14 August 22
Not a single bit; apparently it's effectively 6.5 bits per sample. Shenanigans!
Title: Re: Area 5150
Post by: ralferoo on 16:44, 14 August 22
Oh right, yeah I guess. It's been about 30 years (!) since I last made any PC noises, but I vaguely remember there's both an oscillator so you can play a fixed note, a one-shot timer mode and you can also directly twiddle the speaker like with the Spectrum.

I guess if you're writing the timer at 15kHz (a scanline), you can get creative with varying the ratio of on to off pulses to change the volume, which would make sense with what you said about 6.5 bits as the frequency of the timer is just over 1MHz IIRC (so a bit over 2^20/s driven at a bit under 2^14/s).
Title: Re: Area 5150
Post by: ralferoo on 16:48, 14 August 22
Also, from what I remember of the CGA, you can only change mode from text to graphics at the top of the frame, so I suspect that the split text + graphics stuff very early on is using very short full screens instead of a line per rupture.
Powered by SMFPacks Menu Editor Mod