techtravels.org

PC might be the problem!

I think I’ve found at least one problem here. My PC is at least one problem. Even though I’ve done extensive tests with the PC in the past, including measuring a 9us total cycle time, it appears the PC must...

still hashing some ideas around

I’ve been getting lots of good ideas from the smart guys over at Parallax. They are throwing out a variety of methods and ways I can get this job done. I will say that I’m a little overwhelmed at the pure...

new design on SX software

Welp, I’m having trouble tweaking my existing SX code. If I modify the timing of the current code, I’m getting all garbage output — even adjusting small amounts to one side or the other, produces much...

more SX to PC tests

Although I think I’ve long had this working good, I did some more tests just to verify. Latest numbers: Each cycle is about 15.8us, 2us per bit, 8 bits, this sounds fine. This does confirm, however, what I...

SX code

Ok so I’m using SX/B, which is BASIC for the SX. Even if you’ve never touched SX/B, it reads very easily, anyone who knows the PIC or other mcu should understand….. Here’s the logic behind the...

floppy.c’s mfm decoder

A couple days ago, whenever I got ahold of floppy.c, I wrote a quickie code stub that utilizes floppySectorMfmDecode from floppy.c of fellow (). Note you must use the mirrors to actually download anything…. This...

will put up sample files

I’m going to put up a sample file or two, but I wanted to get the smallest complete group of bytes that I can…. ie like one full sector, etc. So far, I’m just basically streaming bytes, via disk copy...

Success!@#

I hestitate to jump to conclusions, but I think I just passed a crucial first step in getting this to work!@#!# After adjusting some timing on my new code on the SX, I’ve found my first 0x4489 0x4489 pattern. This...

SX software progress

Welp, since I fine tuned the PC to very reasonable numbers, I figure a small overhaul of the SX code is in order too. I had somewhat of an epiphany working the on the SX, which I haven’t *really* looked at in...

Speed of the reading on the PC

Ok, well I’m now satisfied that the PC is fast enough to do its portion of this job, using the standard WinIo dll. I managed to redo a portion of the code so it’s faster, and the total time on the PC is 6...

more followup winIO vs inpoup32

I did a little informal write test. A small tight loop that simply raises pin 1 and then lowers it again. Both in as little code as possible, as clean as possible. WINIO: Total time to raise and lower again, 2.5us...

followup on speed of inpout32

Welp, did some testing last night, and no, it doesn’t look like inpout32 is really going to be any faster. Damn shame because it was relatively easy to setup and use. Quick reply from the authors(thank you) who...

inpout32.dll vs WinIo

From a previous post, I mentioned WinIo as a nice way of accessing the parallel port from win2k. However, it was slow. The authors said, “I should be using MapPhystoLin() anyways”, whenever I asked about...

Parallel port access in win 2k

Accessing the parallel port directly under Windows 2000, XP, etc in a standard user app is not natively available, but there are a couple different solutions available. The free one I use is called WinIo, and it is...