Day changed to 2025-06-01
[22:00] nekoluce: happy first of june :D
[22:17] jfw: thanks nekoluce
Day changed to 2025-06-03
[23:39] jfw: a sad lil loss of innocence: I'd read that the PIC12 runs up to 8 MHz from an internal or 20 MHz from an external oscillator, and "all single-cycle instructions except branches", so I thought wow, it can run an honest 20 million instructions per second. 45 pages into the datasheet, I learn almost accidentally that the "internal instruction cycle clock" is actually 1/4 of the oscillator frequency.
Day changed to 2025-06-05
[18:42] jfw: http://jfxpt.com/2025/jwrd-logs-for-May-2025/#14582 - and just over a week later, my PIC12 says "hello, world" in the form of a ~4 Hz blinking LED, running a 21-word hand-assembled program.
[18:42] sourcerer: 2025-05-28 15:56:46 (#jwrd) jfw: managed to read out the contents of my PIC12, through a $5 locally sourced FTDI adapter board, after designing & building the "extra circuitry" for high-voltage programming which the fpicprog dude wasn't kind enough to describe in his docs.
[18:53] jfw: I'm rather annoyed with the "Intel HEX" format that fpicprog adopted for god knows why; neither human readable nor human editable (because it enforces checksums too) so might as well be a raw binary.
[18:55] jfw: I'm guessing the Microchip tools used it too so he's just following along. With a little extra code I can treat it as an opaque intermediary and not really have to touch it any further.
[18:55] jfw: nothing about the chip itself requires it.
[18:57] jfw: and rolling one's own assembler doesn't look too bad at all
[22:00] nekoluce: happy first of june :D
[22:17] jfw: thanks nekoluce
Day changed to 2025-06-03
[23:39] jfw: a sad lil loss of innocence: I'd read that the PIC12 runs up to 8 MHz from an internal or 20 MHz from an external oscillator, and "all single-cycle instructions except branches", so I thought wow, it can run an honest 20 million instructions per second. 45 pages into the datasheet, I learn almost accidentally that the "internal instruction cycle clock" is actually 1/4 of the oscillator frequency.
Day changed to 2025-06-05
[18:42] jfw: http://jfxpt.com/2025/jwrd-logs-for-May-2025/#14582 - and just over a week later, my PIC12 says "hello, world" in the form of a ~4 Hz blinking LED, running a 21-word hand-assembled program.
[18:42] sourcerer: 2025-05-28 15:56:46 (#jwrd) jfw: managed to read out the contents of my PIC12, through a $5 locally sourced FTDI adapter board, after designing & building the "extra circuitry" for high-voltage programming which the fpicprog dude wasn't kind enough to describe in his docs.
[18:53] jfw: I'm rather annoyed with the "Intel HEX" format that fpicprog adopted for god knows why; neither human readable nor human editable (because it enforces checksums too) so might as well be a raw binary.
[18:55] jfw: I'm guessing the Microchip tools used it too so he's just following along. With a little extra code I can treat it as an opaque intermediary and not really have to touch it any further.
[18:55] jfw: nothing about the chip itself requires it.
[18:57] jfw: and rolling one's own assembler doesn't look too bad at all