ADFS source code

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
Post Reply
dominicbeesley
Posts: 576
Joined: Tue Apr 30, 2013 11:16 am
Contact:

ADFS source code

Post by dominicbeesley » Fri Feb 02, 2018 10:36 am

Hello all,

I've been looking for the canonical assembler sources for the latest builds of the ADFS roms. What is at http://mdfs.net/Info/Comp/BBC/ADFS/ in v150.zip looks promising but doesn't seem to work for me - for instance if I build the IDE/BBC flavour it falls over on a TSB instruction that's not allowed on a regular 6502, so there's something up!

Is there a more recent version or am I doing something daft?

I'm guessing that this build has been hacked to make the MMC versions but not regression tested for BBC/ELK builds?

The reason I'm looking is:
a) look at feasibility of a BBC+ADFS+MMC
b) I need a starting point to port to the 6809

User avatar
hoglet
Posts: 7218
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: ADFS source code

Post by hoglet » Fri Feb 02, 2018 12:16 pm

ADFS 1.5x is master only, so is free to use 65C02 instructions, and does do so.

There are versions in my github repository:
- ADFS 1.3x: https://github.com/hoglet67/ADFS130
- ADFS 1.5x: https://github.com/hoglet67/ADFS

Do check the commit history to see what's gone on in each case.

Each of these includes several different builds (each from from separate top_ module with different settings), including the original Acorn version.

The ADFS 1.5x also includes an SD Card version (but with no floppies).

Dave

dominicbeesley
Posts: 576
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: ADFS source code

Post by dominicbeesley » Fri Feb 02, 2018 12:54 pm

Thanks Hoglet,

I'll use yours as a baseline - the v1.50.zip on MDFS had promising looking build options for building all the various versions from a single source but looks like it only actually did 1.50!

D

User avatar
jgharston
Posts: 3090
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: ADFS source code

Post by jgharston » Fri Feb 02, 2018 7:03 pm

By coincidence, I sat down to tweek the build options on the ADFS source yesterday, but had a phone call for a job starting next Monday, so have been getting things organised for that.

One of the build options is "use 65c12 opcodes", which will obviously build an ADFS that will only work on the Master. Maybe I should comment that more explicity. ;)

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

dominicbeesley
Posts: 576
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: ADFS source code

Post by dominicbeesley » Fri Feb 02, 2018 8:00 pm

I had that set to false but it seems the tube detect code still uses TSB with that set =FALSE?

If you do update it let me know, the sources in v1.50.zip seems to have more commentary which will help with porting! Should both yours and Hoglet's produce the same output?

D

User avatar
jgharston
Posts: 3090
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: ADFS source code

Post by jgharston » Fri Feb 02, 2018 10:07 pm

Sorry for the hasty reply earlier, I was hosting a meeting at home and the doorbell rang as people started arriving early! I've just kicked the last one out. ;)

Edit: early? I posted at 7:03pm, they arrived on time, that was me dawdling on the laptop! :)

I'll check the code over the weekend.

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

Post Reply