Date : Mon, 26 Dec 2011 09:36:38 -0000
From : Andy@... (Andrew Livens)
Subject: BeebEm query
Out of interest, what's MachineType 3 ?
-----Original Message-----
From: bbc-micro-bounces+andy=top-banana.com@...
[mailto:bbc-micro-bounces+andy=top-banana.com@...] On
Behalf Of J.G.Harston
Sent: 26 December 2011 05:10
To: jgh@...
Cc: bbc-micro@...
Subject: Re: [BBC-Micro] 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
_______________________________________________
bbc-micro mailing list
bbc-micro@...
http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro