Search found 6 matches

by JayKominek
Thu Aug 01, 2024 2:08 am
Forum: X16 Software Support
Topic: Cartridge Autostart
Replies: 7
Views: 2752

Re: Cartridge Autostart

Are there any tutorial for creating a ROM cartridge from start to finish step by step? If you mean the hardware part, I've got a 'tutorial' schematic at https://github.com/jkominek/x16simplecart which includes gerber files for a PCB you can have made for personal use. Or you can work through the sc...
by JayKominek
Tue Jul 30, 2024 4:28 am
Forum: CX16 General Chat
Topic: Serial port interrupt timings
Replies: 3
Views: 1110

Re: Serial port interrupt timings

Hrm, wrote another reply which I probably failed to hit 'submit' on. I hooked up my serial card (which, again, is not the TexElec card, but one of my own design using an original 16550, which does not support auto RTS/CTS) to a Linux system via null modem cable. I then had a small program send a scr...
by JayKominek
Sat Jul 27, 2024 6:15 pm
Forum: CX16 General Chat
Topic: Serial port interrupt timings
Replies: 3
Views: 1110

Re: Serial port interrupt timings

Hm, so, all of the lines are being measured physically on my serial card, except for PHI2 and VPB. VPB is generated in the CPU, after it sees IRQB go low, and variations will be dominated by what instruction is being executed when the IRQ hits. Since PHI2 is being measured at the CPU, and everything...
by JayKominek
Wed Jul 24, 2024 10:56 pm
Forum: CX16 General Chat
Topic: Serial port interrupt timings
Replies: 3
Views: 1110

Serial port interrupt timings

There were some concerns a few weeks back with at least one person convinced that the serial card's UART had a "slow" interrupt. I finally got around to taking measurements, so I'm presenting them here to lay that to rest, and explain what the actual issues are. Here's a logic analyzer cap...
by JayKominek
Mon May 06, 2024 10:15 pm
Forum: CX16 Hardware Support
Topic: Cartridge design tutorial + KiCad library
Replies: 0
Views: 1082

Cartridge design tutorial + KiCad library

I've mentioned this stuff on Discord, but to spread it around further: I've put together a KiCad library for expansion cards and cartridges. It includes two different symbols, and then two different footprints. One for cards, and another for carts that has been tested to fit in aftermarket Famicom c...
by JayKominek
Tue Oct 31, 2023 9:17 pm
Forum: Works In-Progress Discussion
Topic: Conway's Game of Life in C, need help with optimizing
Replies: 8
Views: 7402

Re: Conway's Game of Life in C, need help with optimizing

I wrote a long post and then the stupid forum decided I needed to log in again, and lost it. Not typing that again, sorry. I think desertfish has the right idea. You need to eliminate all of the calls to tile_exists, by arranging for the code that accesses the board to never want to access a tile th...