nuxx.net
Making, baking, and (un-)breaking things in Southeast Michigan.

Category computers

Basic Help, Please.

I’m having some problems with a subroutine in the small program I’ve been working on mikroBasic for the Honda Music Link stuffs I’ve been doing.

Could any of you help me?

To start, here’s a copy of the program in a text file: hml_mikrobasic_help.txt

Here’s the project itself, zipped up: hml_mikrobasic_help.zip

The IDE / compiler itself, mikroBasic, is available here.

(I’m just using the demo version, and the limit is only on code size, so feel free to install it. I don’t come anywhere near the code limit, and when one does it’s rather obvious, as the compiler just refuses to compile it.

The problem I’m having is with sendCommand(), and specifically the variable iPodCommand, which is the first one passed to it. What I expect to happen is that whatever is passed as the first argument to sendCommand() will be set and available within the procedure. Instead, I seem to be getting something else.

As the program is currently listed, I would expect the output sendCommand(powerOn, 0) to be 0xFF 0x55 0x04 0x00 0x00 0x00 0x04 0xF8. However, the output I receive is 0xFF 0x55 0x02 0xFE 0xB9 0x47.

The expected packet is broken down as follows:

0xFF – Header 1
0x55 – Header 2
0x04 – Data Length
0x00 – Data 1
0x00 – Data 2
0x00 – Data 3
0x04 – Data 4
0x08 – Checksum (0x100 – Data Length – All Data Packets)

The received packet breaks down this way:

0xFF – Expected Header 1
0x55 – Expected Header 2
0x02 – Length appropriate if the constant referenced by iPodCommand were two bites in length.
0xFE – Data 1 (Not sure where this comes from.)
0xB9 – Data 2 (This one neither…)
0x47 – Checksum, calculated properly off of unexpected Data bytes.

When I run things through the hardware debugger I’m not seeing the variable iPodCommand as an array, and I’m not sure why or how (it just shows a value of 0xDF). That, though, and it’s not working as expected, is leading me to believe that I’m doing something wrong in setting up sendCommand().

So, could any of you please help me? I just don’t know what I’m doing wrong.

Thanks!

computerselectronicsmoved from livejournal

Archiving Atari 800XL Floppy Disks

I took some time today to write up information about archiving Atari 800XL floppy disks. This is as simple as copying them from an Atari 1050 to images on a PC using some special hardware and software, but I hadn’t found any this-is-what-I-did writeups, so I figured I’d do one.

After I’ve had time to sort through the images, carve out personal data, and come up with a template for the pages about the disks, I’ll make them available to others.

For now, though, feel free to read the article in its current, mostly-unedited form: http://nuxx.net/wiki_archive/A/Atari_800XL_Disk_Archiving

computerselectronicsmoved from livejournal

Atari Disk Images

Ahh. 49 disks, 81 sides (some disks only have data on a single side), two unreadable sides, and 7,466,256 bytes later I now have images of all the disks available to me on my parents’ Atari 800XL.

Now to do a bit more cataloging, sort out what contains personal data, and find a good way to post them. That bit may come another day. ;)

computerselectronicsmoved from livejournal

Atari Floppy Images

Imaging Atari floppies.

Imaging Atari floppies.

I’ve spent most of today thus far imaging floppy disks using my work laptop, an Atari 1050, an Atari 800XL (as a SIO power injector), a Universal SIO2PC Interface, and ProSystem.

I still haven’t figured out exactly how I’m going to archive and distribute them, but it’ll probably involve serially numbered disks, a page (or pages) on nuxx.net, a listing of files on each disk, bad sectors in each image, and an optical scan of each disk. There will also be scans of the different varieties of Tyvek and paper sleeves, including logos of the computer stores advertised on them.

Doing this will be a good bit of work, but then (at least) the disks will be archived.

computerselectronicsmoved from livejournal

Windows XP Restore Points

Windows XP’s restore points have saved me loads of time in troubleshooting problems with my Dad’s computer. Rolled the thing back to when I last had it and it’s fine… I’m thinking the problem is with an old version of Printmaster Deluxe which my Dad installed. (It is old enough that it didn’t show in Add / Remove Programs.)

I’m thinking that it overwrote some Windows files somehow, and Windows File Protection, for some reason, didn’t do its thing. That somehow messed up the machine, it started running slow, etc. I’ll test this tomorrow (or whenever I return the machine) by setting a restore point, installing the questionable app, inspecting things, then rolling back to the previous point if needed.

computersmoved from livejournal

Car!

Yay, I have a car again… The inside door panel still needs to be replaced, but that’ll get taken care of sometime next week. Also, the place rotated the tires for me, so I don’t need to have that done for a while.

Oh, and I seem to have resolved the internet problems by switching the APs back to Channel 1 from 11. I had changed them to 11 a week and a half ago or so, and since then the signal had been about 50% everywhere. Back on 1 and it’s nicely full.

automotivecomputersmoved from livejournal

Lightsticks In The Toilet Fallout / Digg Effect

So, earlier today I submitted my Lightsticks In The Toilet LJ Post and photo album (photo gallery retired) to the Make Blog. I had also submitted it to Digg sometime last night.

Well, it has been posted on the Make Blog, and the Digg link has really taken off. With a total of 5 fastcgi processes for myself (nuxx.net, et al) the box is sitting at a load of ~5 to ~10, and is handing out loads of data. Feel free to watch the bandwidth consumption here.

This is interesting. I’ve only had to deal with tremendous bandwidth load before (eg: hosting the SG videos, or original seed for Katrina photos), not something that actually loads the box.

I just moved the photos to nine per page (3×3) to cut down on the impact of each page load. We’ll see what happens, I guess…

computersmoved from livejournalnuxx.net

Old Hardware…

I’ve got a bunch of hardware here that I just can’t bring myself to throw out. For example, a Digi AccelePort C1 (with a REAL 16C650) which I had previously used with a 3Com ImpactIQ for ISDN network access from 1997 through 2000. There is also the first computer I bought, a Pentium 90 which I’d paid almost $3k for, with 17″ monitor. A real, made in the USA 3Com Sportster 56k x2 modem from the time before the v.34 standard was formalized, which had been subsequently flashed to v.34. Some great-for-wardriving Pentium II 300 laptops, etc.

computerselectronicsmoved from livejournal

Data Destruction


Spool from a DLT IV cartridge cut open with a bandsaw.
(Click for more Data Destruction (photo gallery retired) photos…)

While cleaning out the basement (yes, the long-awaited get-rid-of-the-crap-you-don’t-use cleaning) I came across a bunch of old magnetic media which I wanted to render unreadable. I tried a few different methods, and I think that the best is the use of a band saw. As you can see above, DLT cartridges are easily disposed of by removing the spool from the housing and cutting half-way through them with a bandsaw. This turns the whole spool of magnetic ribbon into lengths no longer than ~6 inches. When a bunch of cut tapes are mixed in a box and then tossed like a salad they can be rendered nearly irrecoverable. I don’t think even the big agencies would be too anxious to try and recover data from that.

I also cut into hard drives, from edge of drive to spindle, and in one case cut away one corner of the whole drive. Having to dispose of some ZIP disks and DATs I also sliced into portions of these with the bandsaw before tossing them. ZIP disks would be cut to the hub of the platter, and DATs straight into the side of the tape bearing the full spool until reaching the hub.

I still have to figure out a good way to dispose of lots of both pressed and burned CDs. This too may employ the bandsaw, although a bonfire would work good as well.

around the housecomputersmoved from livejournal