Hacker Newsnew | past | comments | ask | show | jobs | submit | sehugg's commentslogin

I wrote a conversational insult generator in AppleSoft BASIC, inspired by a program called "Abuse" that I saw advertised in a magazine, and of course by Eliza.

I did a PWM demo on the Apple II using a format similar to the DPCM samples on the NES. Those samples have a pretty simple format: a 1 bit raises the amplitude, a 0 bit lowers it. So you're kinda approximating the waveform with a bunch of triangles.

The NES has a 7-bit DAC, but since we're bit-banging with the CPU we only have enough time between samples for about 13 levels. Each level has its own toggle-wait-toggle-wait routine, and then we shift another bit and decide whether to branch to the next (level+1) routine or the previous (level-1) routine.

https://8bitworkshop.com/v3.12.1/?platform=apple2&file=delta...


And also the hamster has two mouths

I think it might be standing at the wrong edge of the table too, worth adding.

The CE40-HX1K iCEstick has inexplicably increased to $158 on the Lattice Store. Pretty spendy for 1280 LUTs. The Olimex Ltd. ICE40HX1K-EVB might be a good substitute at $21.


Compile this, GOTO breath!


Are you planning to feed the info back into OSM?


eventually yes. I've named a bunch that were unnamed from OSM


Windows 95 was hamstrung by DOS compatibility. If you installed OS/2, you could have butter-smooth mouse cursor movement even while formatting a floppy disk and running a DOS (or even Windows!) VM in another window. And if you had a XGA card (which no one did) you had a hardware mouse cursor sprite, just like the Amiga (except only one boring sprite and no cool audio/video tricks)


DOS was only about 3 years older than Workbench, and OS/2 was about 8 years younger.


The LM landing algorithm was also based on a polynomial, with "time-to-go" as the variable. Problems would occur if that variable went negative.


Well except for Jungle King


The programmable scanline-buffer-based rendering pipeline described in the PDF is worth a read for fans of such things.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: