Bread80

@bread80@mstdn.social
419 Followers
141 Following
5.2K Posts
Amstrad CPC, RC2014, Z80, Raspberry Pi Pico, TTL processors and the occasional bit of Eurorack
Websitehttp://Bread80.com
Githubhttps://github.com/Bread80

I'm using another '174 to latch various signals which need to be latched at the same time, and reduce the need for discrete flip-flops. This also helps to ensure CRTCE and PHI are perfectly synced - which is required for access to the 6845.

Pre-generating PHI before latching it at the correct moment organically gives me the PRE_PHI I need for the write signal generation.

The 1MHz PHI is held low when not in ~IO_CRTC to ensure it's correctly phased with the 6502 at the times it's required. 3/3

My solution is for the sequencer to generate a PRE_PHI signal slightly in advance of PHI. Combining this with RWB gives a write signal with workable timing.

However, this brings up the issue of the 6845 CRTC which requires an E(nable) pulse of about 1us, ie. 1MHz for it's read/write cycles. I'm running the 6502 at 2MHz but this requires slowing it to 1MHz for such cycles.

I've done a slight rework of the sequencer to generate both 2MHz and 1MHz PHIs and use ~IO_CRTC to select between.

2/n

Adding write support to the #mos6502 in the simulator and #CPC_ZERO. The SYS register uses a '174. The clock pulse, to latch the data, could, naively, be driven by a write signal generated by PHI and RWB and gated by ~IO_SEL from the address decoder.

But the 6502 de-asserts RWB at the same moment it releases the data bus. Gate delays would mean the clock pulse arriving after the data bus has been released. Bus capacitance could make this work in the real world but I want proper validation. 1/n

they are going to do the Gattaca from the film Do Not Do The Gattaca https://www.bbc.co.uk/news/articles/c1ljg7v0vmpo
NHS plans to DNA test all babies in England to assess disease risk

Scheme is part of the government's 10-year plan for the NHS in England aimed at easing pressure on services.

BBC News
I use a mac. Is this true?

It's going to be a long day today.

Happy Solstice 2025 everybody!

Started wiring the #GiganticUnicorn. First 2 rows have been wired for the @pimoroni.com old school Unicorn hats, USB leads for the keybows are installed and dressed. Just six more rows plus power left to wire.

Previous #breadboard abominations interfacing a FT245 to a #rc2014 have been done largely from memory and having several webpages open.

I figured it was time to actually capture a #schematic and I also updated the logic to include bit 7 of the 6850 control register (interrupt enable) and an open collector interrupt request.

Rebuilt it with the new logic using the schematic and it all still works, along with better interrupt capability.

Still a mess though!

Got one.

Q: Who's the coolest bloke in the hospital?
A: The ultra-sound guy.

Q: What if he's on holiday?
A: Call the hip replacement guy.