<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 26 Dec 2011 05:09:40 +0000
From   : jgh@... (J.G.Harston)
Subject: BeebEm query

After several frustrating hours trying and failing to get HADFS
IDE hard drive support working with BeebEm, I was sent scuttling
around the source code.

In file beebmem.ccp:
---8<---
       if ((Address & ~0x7)==0xfc40 && MachineType==3) {
               return(IDERead(Address & 0x7));
---8<---
       if ((Address & ~0x7)==0xfc40 && MachineType==3) {
               IDEWrite((Address & 0x7),Value);
               return;
---8<---

Nooo!!!!!!! You can plug a hard drive interface into ANY
bbc computer. It should read
---8<---
       if ((Address & ~0x7)==0xfc40) {
               return(IDERead(Address & 0x7));
---8<---
       if ((Address & ~0x7)==0xfc40) {
               IDEWrite((Address & 0x7),Value);
               return;
---8<---

I'm almost at the point of actually tracking down a CPP
compiler so I can actually rebuild the code properly.

-- 
J.G.Harston - jgh@...      - mdfs.net/jgh
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>