News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Area 5150

Started by ralferoo, 10:07, 11 August 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ralferoo


Gryzor

Oh that was nice. 

pelrun

#2
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!

MaV

Mindblowing for a 5150 machine!
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

andycadley

Genuinely impressive stuff.

ralferoo

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.

pelrun

Not a single bit; apparently it's effectively 6.5 bits per sample. Shenanigans!

ralferoo

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).

ralferoo

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