Instagram filter used: Normal
Blog
-
*ALL* of the memory …
World domination soonish! I’ve got a whole bunch of bytes free now I’ve upgraded my 6502 40th Anniversary Computer Badge to 32KB of RAM! I suspect I’ll end up as I usually do, Corvax-style …
-
Important research: was the Eudora “New Mail†chime from Ren & Stimpy’s “LOGâ€?
Inspired (obliquely) by this Metafilter post, I set out to answer a burning question.
LOG chime
This occurs from second 36 to second 38 of this video:
https://www.youtube.com/watch?v=-fQGPZTECYs&feature=youtu.be&t=33s
The chime when extracted without further processing, sounds like this:
(direct link: Original-Log-Commercial_The-Ren-and-Stimpy-Show.wav)
Eudora chime
I found a copy of Eudora Mail 1.44 for Windows (bundled up in an archive quaintly called “internet.zipâ€) here. The EUDOR144.EXE file is itself a Zip archive, and contains several files. The important one is WEUDORA.EXE (722,944 bytes; SHA256 checksum a35f2ef1e95242228381d9340fff0995f4935223f88a38b9200717107252dfb9).
This is a Windows 16 “New Executable†(NE) file, and I used panzi/mediaextract to scan and extract the RIFF/WAV data:
(direct link: WEUDORA.EXE_000a8200.wav)
They sure sound similar. But are they … the same?
Comparison
I made sure that both samples were set to the same rate, and I applied simple amplification in Audacity so that they both had a peak volume of -3 dB. Aligning the tracks as best I could, I got this:
Log audio on top, Eudora chime underneath The Eudora sample is very slightly slower than the Log one. It might have been that the Eudora authors sampled the chimes from an analogue video tape. The match is remarkable, however, as they play together with only very slight phasing effects:
(direct link: Log_vs_Eudora-log_left-Eudora_right.wav)
Conclusion
Yes, the Eudora Mail “New Mail†chime did come from Ren & Stimpy after all.
-
MS Word will break your links!
I was pleased to see that my nerrrdy Bourgoin mini-zine got cited in an art workbook for schools: Islamic mosaics activity (Patterning) from MathWeave. Yay!
But the link in the workbook doesn’t work! I mean, it looks right:
Only when you copy the bad URL do you see the problem:
http://scruss.com/blog/2016/07/21/nerrrdy%E2%80%90bourgoin%E2%80%90mini%E2%80%90zine/
Word has changed the pasted ‘-’s to ‘â€â€™s: that’s from U+002D HYPHEN-MINUS to U+2010 HYPHEN. You’d have thought that software that was smart enough to recognize an URL would also be smart enough not to do any messing with the characters in it …
-
Most of the Logic Apple II Library now on archive.org
Well, that’s all the disks I can find easily up on archive.org. There are some Apple IIgs disks still to do, and there might be some random disks lurking in another box, but that’s more than 485 disk images uploaded.You can find them by going to Internet Archive Search: creator:”LOGIC (“Loyal Ontario Group Interested In Computersâ€)”.
-
Installing the Pimoroni OnOff Shim the hard way
Hey! This process permanently modifies your Raspberry Pi and may prevent it from working with many HATs and add-ons … It also has some really fiddly soldering. If in doubt, don’t.
Pimoroni’s OnOff SHIM adds what the Raspberry Pi should have had all along: a power button. While there are lots of soft power switches out there, the OnOff Shim adds circuitry to cut power to the Raspberry Pi after shutdown.
While the shim comes with a 12-socket header, that prevents you from using any other device that uses the leftmost GPIO pins. I wanted access to all the pins, and not have the shim create an unsightly bump on the pins. So this is what I did …
Regular GPIO header in place on a Raspberry Pi Zero W Test-fit the socket header to mark where you’re going to cut the pin support block Very carefully, cut the pin support block between (physical) pins 11-13 and 12-14. I used a mix of a sharp craft knife and nibbling with fine diagonal cutters. Try not to bend the GPIO pins either as you cut the block or lever the block out of the way Apply non-conductive tape to the back of the OnOff Shim. I used Kapton, but electrical/insulating tape will do. Just make sure you don’t block any of the GPIO holes Test-fit the shim. You may have to pare away at the support block a bit to get it to fit level with the rest of the pins Now solder the shim in place. You want the solder joints as small as possible. I used extra liquid flux and very fine silver solder to just fill the pin holes. Too much solder left on the pins will stop HATs and socket headers fitting, so you may have to desolder as I had to do on the rightmost pin Example HAT fitted with OnOff shim underneath. Note that his particular HAT — the Pimoroni Inky pHAT — will not work with this shim. The OnOff SHIM uses GPIO pin BCM 17 (physical pin 11) as the power button sensor and BCM 4 as the power off signal. Any device that also uses BCM 17 (and possibly BCM 4) will likely cause the reset process to be triggered. This means that I can’t use the shim with my Inky pHAT EPD. You would have thought that Pimoroni might’ve considered that, since they made both. Consulting pinout.xyz suggests that 41 boards that likely may not work with the OnOff shim: Cirrus Logic Audio Card, Display-o-Tron 3000, DOTs, Enviro pHAT, ESP IoT pHAT, Explorer HAT, Explorer HAT Pro, Flex, GertVGA 666, High-Precision AD/DA Board, Hyperpixel, Inky pHAT, IoT pHAT, LEDBorg, MotoZero, Navio2 Autopilot, PaPiRus HAT, PaPiRus Zero, Piano HAT, Pibrella, Picade HAT, Pi Cap, PiGRRL Gamepad, Pi-LITE-r, Pi-mote, Pi PoE Switch HAT, PiStep2 Dual, PiStep2 Quad, Pi Stop, Propeller HAT, RoboHat, RTK Motor Controller, Servo PWM Pi Zero, Skywriter HAT, Ultimate GPS HAT, Voice HAT, Witty Pi, Witty Pi 2, Zero2Go, Zero LiPo and ZeroSeg.
While I like the OnOff SHIM, check carefully that it will work with your application.
-
Installing the Versatile Commodore Emulator (VICE) on Raspberry Pi
Updated 2020-11-28: thanks, Ennio! Should now build after new Raspberry Pi OS and Vice changes
As requested on our local Commodore user group mailing list, how to install VICE on a Raspberry Pi running Raspberry Pi OS:
sudo apt install autoconf automake build-essential byacc dos2unix flex libavcodec-dev libavformat-dev libgtk2.0-cil-dev libgtkglext1-dev libmp3lame-dev libmpg123-dev libpcap-dev libpulse-dev libreadline-dev libswscale-dev libvte-dev libxaw7-dev subversion yasm libgtk3.0-cil-dev xa65 libsdl2-dev libsdl2-image-dev libgtk-3-dev libglew-dev mkdir -p src cd src svn checkout https://svn.code.sf.net/p/vice-emu/code/trunk trunk cd trunk/vice ./autogen.sh ./configure --disable-pdf-docs make -j4 sudo make install
This was freely adapted from the build docs, Linux-Native-Howto.txt, which has more info if you get stuck.
If you’re feeling fancy and want nice GUI controls and sound recording and menu stuff, try
./configure --disable-pdf-docs --enable-lame --with-mpg123 --enable-shared-ffmpeg --enable-x64 --enable-native-gtk3ui --enable-desktop-files
This will give you desktop icons too. I’m not sure in the apt line is quite right, though — but I’ve had my doubts about all those CIL entries, ‘cos I think they pull in Mono/.Net, and who would want to use that?
-
BASIC on the 6502 badge
As if it weren’t nerdy enough, the 6502 40th Anniversary Computer Badge runs Lee Davison’s EhBASIC. There are 1024 whole bytes free for your programs, so it’s not exactly spacious. It’s got useful floating point support, though:
Yup, that’s the second most boring BASIC example program, after the quadratic root finder.
100 REM HERON ROOTS 110 EP=0.0001 120 INPUT "X";X 130 N=1:RN=X/2 140 PRINT"COUNT","ROOT","DELTA":PRINT"======","======","======" 150 DE=ABS(RN*RN-X) 160 PRINT N,RN,DE 170 RN=(RN+X/RN)/2 180 N=N+1 190 IF DE>EP THEN GOTO 150
Update: Josh got my badge working again (it wasn’t, for $reasons …) and I re-ran this code. If you try the code for X=100000 and larger, it won’t converge. You might want to add:
185 IF N>25 THEN PRINT "EPSILON TOO LARGE, EXITING":END
so that the loop will exit after 25 times. Alternatively, make the value of EP depend upon the size of X. Aren’t numerical analysis and floating point foibles fun?
-
6502 badge is go!
Yes readers, I built one:
All of 2 KB RAM, but the form factor can’t be beat. I’m sure I’ll be the hippest cat on the block when I pair it with my happening 2012 Hamvention lanyard …
Thanks to Josh Bensadon for bringing a 6502 40th Anniversary Badge back from VCF Midwest. Josh also got my Apple //e going again by replacing RAM chips: I can’t thank him enough for that, too!
VCF-MW 2017 6502 badge, with almost everything socketed I did make some minor mods to the build:
- I socketed the main chips. The 6502 is in 2× cut up 20-pin narrow sockets. Under the EPROM is the 2K×8 SRAM, socketed too. This means that the EPROM is in two stacked sockets and sticks out far too far. But at least it’ll allow me to upgrade the RAM
- I used real pin-header jumpers and links for RAM and EPROM size selection instead of solder links. This meant a horrible kludge for the RAM selector under the SRAM chip involving angled and bent headers, a filed-down chip socket and a hand-knotted wire jumper (artisanal af!)
- Even though there’s no mention of it in the manual, I stuck the battery pack on the back
- One bad mod: the HL-340 RTS mod suggested in the manual is much harder than it looks. I trashed the supplied USB adapter, but I have others …