Studying the Amstrad PC1512 Graphics Chip

  Рет қаралды 3,958

PCRetroTech

PCRetroTech

Күн бұрын

Пікірлер: 44
@NickNorton
@NickNorton Жыл бұрын
I love your deep analysis of old computer graphics.
@Torbjorn.Lindgren
@Torbjorn.Lindgren Жыл бұрын
IIRC memory chips of this era tends to retain their memory far longer than specified at room temperature (and that's often still true), sometimes tens of times longer! So I suspect you likely can get away with just refreshing once per frame (say before the HLT) instead of having to do it 4 times per frame which might allow slightly closer timing. The CGA+16-color split seems almost custom-made for things like Elite... IIRC some versions of Elite on other computers actually had more colors in the lower "HUD" area than in the space display though it was probably 2 vs 4 colors, I think it was at least partially related to not having enough memory otherwise (more colors obviously using more memory), I think it was one of the 8-bit micros.
@PCRetroTech
@PCRetroTech Жыл бұрын
It's true they will hold their charge for much longer than 4 ms. But you only get away with that once. It's actually surprising how close to every 4 ms you have to refresh them if you want very stable operation over a long period of time. I experimented with this quite a bit on the PC and was surprised until I realised that eventually it got me one way or another if I ran them too long out of spec.
@therealjpster
@therealjpster Жыл бұрын
Ah, I did the “sleep before timer IRQ fires” when I was bit-bashing colour VGA on a Cortex-M4. Good work and great explanation!
@devnull73
@devnull73 Жыл бұрын
Somewhere there's a write-up on Risen From Oblivion - a Commodore 128 demo. The C128 VDC and CPU are on 2 different clocks, and the VDC clock is slightly different from machine to machine. They used some novel techniques at startup to figure out CPU cycles per VDC frame, and the CPU cycle the VDC frame starts, allowing them to do all sorts of cycle-exact timing tricks. Might be worth tracking down to see if it's relevant to your situation.
@PCRetroTech
@PCRetroTech Жыл бұрын
Sounds interesting. Similar techniques could be used here, but I'm not sure it's worth it given the other restrictions. It's a much more basic CGA implementation than I was imagining. I think they just did the minimum they could get away with assuming they only ever had to support one monitor.
@llamallarry
@llamallarry Жыл бұрын
Nice! Looking forward to the next Amstrad XT videos:)
@KnutBluetooth
@KnutBluetooth Жыл бұрын
Can't resist a video about my favourite computer of all time. I still have mine after 36 years. Unfortunately the (PC-CM) monitor probably has (a) dead capacitor(s) and I'm not too confident poking inside of it. I think I remember you lived in germany for some time. Might you know, by any chance, of some shop or person that would be able to repair it in return for payment (in germany, benelux, france) ?
@PCRetroTech
@PCRetroTech Жыл бұрын
No, sorry, I don't know anyone there that does repair of those things. I got them shipped over from the UK when I was there. They come up pretty cheap from time to time. However, I can understand the attraction of keeping the one you've had 36 years. Working on monitors is unfortunately very dangerous, so not recommended if you don't know how. And I actually don't know much about the failure modes of these monitors, so can't give any clues unfortunately.
@KnutBluetooth
@KnutBluetooth Жыл бұрын
@@PCRetroTech It's probably even more dangerous since the power supply is also inside of it. Yes, I think until I find a solution to get it repaired, the best bet is to just find another working one. Thanks for your answer :)
@drzeissler
@drzeissler Жыл бұрын
22:00 looks like a very smooth scrolling-effect...
@willyarma_uk
@willyarma_uk Жыл бұрын
Without being able to change the video memory address mid frame means there's a lot of demo effects that can't be done. No twisters, vertical stretch, vertical flip / rotate, no per line scrolling, no parallax and no 3d road games :(
@PCRetroTech
@PCRetroTech Жыл бұрын
Yeah, pretty disappointing huh! I did notice some of the mode changes would also reset the memory address. It's possible with some clever, very quick, mode changes something could be done. But it hardly seems worth it given the other constraints.
@compugamesarg
@compugamesarg Жыл бұрын
It's good to see you back .
@willyarma_uk
@willyarma_uk Жыл бұрын
I used to use an 18.432MHz crystal on the PIC micro because it divides perfectly to standard baud rates. I expect thats what you have on your UART.
@PCRetroTech
@PCRetroTech Жыл бұрын
Indeed, that's what it is.
@GodmanchesterGoblin
@GodmanchesterGoblin Жыл бұрын
@@PCRetroTech Yep. Standard UARTs use a 16x clock for internal operations, and baud rates are divided further from that. So the 1.8432Mhz crystal that you observed gives the maximum of 115.2k bits/sec that is found in traditional PC serial ports when the divisor is set to 1.
@PCRetroTech
@PCRetroTech Жыл бұрын
@@GodmanchesterGoblin That makes sense.
@joecincotta5805
@joecincotta5805 Жыл бұрын
Yay! He's back
@TheRasteri
@TheRasteri Жыл бұрын
I've always wondered if you could resurrect the vestigial PC1512 graphics chip that's on the PC1640 and use it with a second monitor
@PCRetroTech
@PCRetroTech Жыл бұрын
I had no idea there was one. I thought they just used an EGA chipset. I'm guessing you'd need a hardware mod to do that as there's likely only one path to the video out.
@TheRasteri
@TheRasteri Жыл бұрын
@@PCRetroTech I figure there must be some glue logic aboard the 1512 graphics chip and Amstrad just reused it for the 1640 to save respin costs, despite the 1640 already having a graphics chip. But yeah you''d need to do some soldering, the output pins are totally disconnected
@PCRetroTech
@PCRetroTech Жыл бұрын
@@TheRasteri Yes, there is other logic in the chip. I forget what exactly, but it's nothing terribly exciting.
@logipilot
@logipilot 8 ай бұрын
Our family PC was a 1640MD, but we modded the B/W screen to support ega with 16 shades of grey. I want that machine back, the 20mb hdd made sooo soothing bird chirp sounds. ❤
@joecincotta5805
@joecincotta5805 Жыл бұрын
4 color scroller with 16 color 'fpp' effect over the top. I come from c64, so its basically an fli effect
@PCRetroTech
@PCRetroTech Жыл бұрын
That's the sort of thing I think you could probably do. It'd be easier if the start address could be manipulated mid-screen. It seems possible between certain modes, but then there are major glitches when switching between those modes.
@alexandermirdzveli3200
@alexandermirdzveli3200 Жыл бұрын
Brilliant, as always.
@OpenGL4ever
@OpenGL4ever Жыл бұрын
One question, do you have a Rendition Vérité V1000 or V2100/V2200 in your collection? It would be a very interesting card from a programming point of view of early 3d accelerator videocards.
@PCRetroTech
@PCRetroTech Жыл бұрын
Unfortunately I don't think I have one of those. I agree it would be an interesting one for comparison and programming.
@OpenGL4ever
@OpenGL4ever Жыл бұрын
@@PCRetroTech That's a pity to hear. Thanks for agreeing.
@h7qvi
@h7qvi Жыл бұрын
If really desperate, could substitute the xtal oscillator inputs with two clocks derived from one source using PLLs and dividers
@PCRetroTech
@PCRetroTech Жыл бұрын
Nice idea. That could work, I think.
@root42
@root42 Жыл бұрын
Maybe just slightly underclocking the CPU, to get it into sync with the display chip? Wasn't that 2x the NTSC clock? And the CPU 8MHz?
@PCRetroTech
@PCRetroTech Жыл бұрын
@@root42I could, but I'm not sure it's worth it. The information isn't going to be usable either way. And yes, that was 2x the NTSC clock and the CPU was 8 MHz. Obviously they have dividers on these crystals.
@1st_ProCactus
@1st_ProCactus Жыл бұрын
56 minute video felt like 15minutes... Interesting
@macdeath69
@macdeath69 10 ай бұрын
Would be great to see some specific PC1512 demo, perhaps a PC1640 one too, not sure a lot of hidden tricks may be found for those machines, that remains to be seen. What about adding the Mathematical co-CPU too ?
@roybixby6135
@roybixby6135 Жыл бұрын
Memories - I remember upgrading those PC1512 to 640k and often cutting myself on the shield over the motherboard. I had a PC1640 because I always hated CGA. Apart from the Western Digital Hard Drives the Amstrads were a very reliable system ... 🦘
@PCRetroTech
@PCRetroTech Жыл бұрын
Ah yeah, the shield in mine is missing. I can't remember if I took it out. I had one that was super rusty and had to get rid of it. I do have a 1640 as well, but bring it out less often as it is in pristine condition.
@drzeissler
@drzeissler Жыл бұрын
If the PowerSupply was not in the monitor I bought this 1988, so I bought an EuroPC...would be nice to see some cool stuff on the EuroPC.
@PCRetroTech
@PCRetroTech Жыл бұрын
Yeah I guess I have access to those over here in the UK. They are very rare though.
@pmsrodrigues
@pmsrodrigues Жыл бұрын
Just starting to view your video but must correct a bit. Maybe I misunderstand, but this is not the final machine in Amstrad's XT line. The same range had the PC1640, which I owned at the time. There was also the PPC. Then came the ranges with numbers, 2000 and etc.
@PCRetroTech
@PCRetroTech Жыл бұрын
I was referring to another machine I was repairing, not the PC1512. As I said, this video is about the first machine in the XT line, not the last.
@Mateo-el6nf
@Mateo-el6nf Жыл бұрын
Promo'SM 😪
@janlyakhovsky5033
@janlyakhovsky5033 Жыл бұрын
Autor is nazi-fan.
8 Bit Computer Graphics Technique Almost Unknown on PC?
21:09
PCRetroTech
Рет қаралды 14 М.
Animating Ellipses on a Vintage 386 Computer
46:12
PCRetroTech
Рет қаралды 3,7 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
The Real Reason Why Analog Recording Is Better
12:19
Freaking Out With Billy Hume
Рет қаралды 620 М.
EGA/VGA Graphics Deep Dive
19:18
TheRasteri
Рет қаралды 21 М.
38C3: Hacking the RP2350
57:15
Atomic Central
Рет қаралды 7 М.
Amstrad CPC Story | Nostalgia Nerd
31:23
Nostalgia Nerd
Рет қаралды 444 М.
I Saved an Electron Microscope from the Trash
34:54
ProjectsInFlight
Рет қаралды 1 МЛН
How do Graphics Cards Work?  Exploring GPU Architecture
28:30
Branch Education
Рет қаралды 2,9 МЛН
I finally got this ATI VGA Blitter Working!
28:21
PCRetroTech
Рет қаралды 10 М.
The MOST Broken Computer? The 1986 Sinclair Spectrum+2
50:19
Mend It Mark
Рет қаралды 254 М.
More of the "Vintage" PCs that Took Over my Cellar!
20:07
PCRetroTech
Рет қаралды 2,2 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН