Search found 4034 matches

by jgharston
Sun Aug 02, 2020 4:44 pm
Forum: acorn & bbc micro user group (abug) events
Topic: All-day 'Virtual' ABug session #7, Saturday 5th September 2020, 9am - 11pm. Supporting CCfCH. *ACORN/ACORNSOFT Special*
Replies: 50
Views: 1343

Re: All-day 'Virtual' ABug session #7, Saturday 5th September 2020, 9am - 11pm. Supporting CCfCH.

Yes please, all day please. I missed the last Cambridge because of work (which ironically finished just as the lockdown started).
by jgharston
Sun Aug 02, 2020 4:38 pm
Forum: 8-bit acorn hardware
Topic: Fastest way to arrange data on disc for database-type applications?
Replies: 7
Views: 305

Re: Fastest way to arrange data on disc for database-type applications?

Checking DFS 0.9 (8271), DFS does not use sector interleave You wouldn't find out by examining the DFS, whatever version. You'd find it out by examining the formatter you use. I originally used the formatter in DISCDOCTOR which uses a sector interleave of 1 and a track-to-track skew of 3, which is ...
by jgharston
Wed Jul 29, 2020 8:11 pm
Forum: software & utilities for the pc, mac or unix
Topic: Transfer of files into a CP/M disk image MAC
Replies: 15
Views: 636

Re: Transfer of files into a CP/M disk image MAC

MillerMills wrote:
Wed Jul 29, 2020 7:55 am
Thanks for the offer of creating the disk image files - how do I contact you with the zip's?
Have you got done what you needed?

If you (or anybody else) needs file transfer stuff, email me at jgh (at) mdfs (dot) net. I used to list file transfer services somewhere, probably back on 8bs.
by jgharston
Wed Jul 29, 2020 7:04 am
Forum: programming
Topic: OSBGET
Replies: 9
Views: 307

Re: OSBGET

Where is map% ie, what is P%? Post a minimal program that can be run and demonstrates the problem, eg: 3400 DIM mcode% 200 3410 FOR P=0 TO 1 3420 P%=mcode% 3430 [OPT P*3 3391 .map LDX#(file MOD256):LDY#(file DIV256):LDA#64:JSR&FFCE\osfind openin 3392 TAY:LDX#0:.mplp:JSR&FFD7:STA&1400,X:INX:CPX#229:...
by jgharston
Wed Jul 29, 2020 6:59 am
Forum: software & utilities for the pc, mac or unix
Topic: Transfer of files into a CP/M disk image MAC
Replies: 15
Views: 636

Re: Transfer of files into a CP/M disk image MAC

That rings a bell.
File -> Mount -> Drive 0 -> your destination cp/m disk image with file tools on it
File -> Mount -> Drive 1 -> your source dfs disk image
Boot into CP/M
GETFILE dfs::1.file cpm:A:file
or summut

PIP won't do it, PIP only "sees" CP/M devices.
by jgharston
Tue Jul 28, 2020 9:39 pm
Forum: 8-bit acorn software: other
Topic: Most efficient ToUpper function in BBC BASIC?
Replies: 35
Views: 833

Re: Most efficient ToUpper function in BBC BASIC?

What does FNtU("") give you? If you're going for two-letter function names, I find FNuc() FNlc() more semantically "better". It's a function, so it's an adjective, you get the SIN of something, you don't to-SIN something, you get the UpperCase of something, you don't get the to-upper-case of somethi...
by jgharston
Tue Jul 28, 2020 9:31 pm
Forum: software & utilities for the pc, mac or unix
Topic: Transfer of files into a CP/M disk image MAC
Replies: 15
Views: 636

Re: Transfer of files into a CP/M disk image MAC

I've got WordPerfect. I've got CPMFiler which runs on any machine that can run BBCBASIC, but it only exports from CP/M disks and images. There's RDACORN, GETFILE/PUTFILE, CPMtoBBC/BBCtoCPM and similar tools that run on the CoPro itself to copy files to/from non-CP/M disks on the CoPro itself. There'...
by jgharston
Tue Jul 28, 2020 9:24 pm
Forum: programming
Topic: OSBGET
Replies: 9
Views: 307

Re: OSBGET

That works, I was trying too *LOAD data to &400 from BASIC which is fatal. now I'm trying to *LOAD from machine code at entry (JSRspld): 3401.spld LDX#(file2 MOD256):LDY#(file2 DIV256):JSR&FFF7:RTS\*ld 3405.file2 EQUS"SPDATA 400":EQUB13 That's not trying to load, that's running. You've passed the s...
by jgharston
Tue Jul 28, 2020 9:18 pm
Forum: programming
Topic: OSBGET
Replies: 9
Views: 307

Re: OSBGET

Where is map% ie, what is P%? Post a minimal program that can be run and demonstrates the problem, eg: 3400 DIM mcode% 200 3410 FOR P=0 TO 1 3420 P%=mcode% 3430 [OPT P*3 3391 .map LDX#(file MOD256):LDY#(file DIV256):LDA#64:JSR&FFCE\osfind openin 3392 TAY:LDX#0:.mplp:JSR&FFD7:STA&1400,X:INX:CPX#229:B...
by jgharston
Tue Jul 28, 2020 9:11 pm
Forum: 8-bit acorn software: other
Topic: "Correct" way to tell if a Tube transfer is complete?
Replies: 5
Views: 302

Re: "Correct" way to tell if a Tube transfer is complete?

Yes, you known when *you* have stopped using the Tube when *you* stop using the Tube. No more, no less. What you have discovered, though, that if you instruct the Host that your client expects nothing back from an OSWORD call, then yes the client will not wait for anything back from the OSWORD call,...
by jgharston
Mon Jul 27, 2020 8:47 pm
Forum: 8-bit acorn hardware
Topic: PiTube - *FX151 230 n seems odd
Replies: 14
Views: 502

Re: PiTube - *FX151 230 n seems odd

jms2 wrote:
Mon Jul 27, 2020 7:00 am
That's right - I stopped using the commas in the 80s! :lol:
But without commas it's impossible to read what it means. I had way too much documentation in the 1980s where you couldn't tell if it was telling you to use *fx22 or *fx22, *fx20 or *fx20, *fx40 or *fx40.
by jgharston
Sun Jul 26, 2020 1:50 pm
Forum: programming
Topic: Teletext paint program
Replies: 239
Views: 3833

Re: Teletext paint program

To save the MODE7 screen you could use nested FOR...NEXT loops containing a routine using OSWORD &0A OSBYTE 135 to read the character at the cursor position and write that byte to a file. This would make a 1K file, which, when *LOADed to &7C00 on a Beeb, would display correctly. It's easier to keep...
by jgharston
Fri Jul 24, 2020 4:50 pm
Forum: 8-bit acorn software: other
Topic: Torch MCP Versions
Replies: 21
Views: 1780

Re: Torch MCP Versions

Pernod wrote:
Thu Jul 23, 2020 11:18 pm
In Torch MCP 1.22 (CIL) I'm seeing the following being executed:
...
Any ideas on what's expected at &FD80/&FD81?
Torch SCSI/SASI hard drive. For some reason Torch put it in JIM instead of FRED.
by jgharston
Fri Jul 24, 2020 4:45 pm
Forum: off-topic
Topic: Publishing Code on the Web
Replies: 8
Views: 297

Re: Publishing Code on the Web

Image
by jgharston
Fri Jul 24, 2020 4:39 pm
Forum: programming
Topic: Is GOTO ever not evil?
Replies: 47
Views: 868

Re: Is GOTO ever not evil?

I see Richard's already posted exactly what I said. :)
by jgharston
Fri Jul 24, 2020 4:37 pm
Forum: programming
Topic: Is GOTO ever not evil?
Replies: 47
Views: 868

Re: Is GOTO ever not evil?

In BBC BASIC found on the 8 bit machines the use of GOTO is often mandatory and is frequently used to speed up processing. BASIC 2, for example, does not have multi-line IF ... THEN ... ELSE ..., WHILE ... ENDWHILE or CASE statements. To get round these 'deficiencies' one can use GOTO. Not really, ...
by jgharston
Thu Jul 23, 2020 11:14 pm
Forum: programming
Topic: Adding a delay to loop in BASIC
Replies: 15
Views: 559

Re: Adding a delay to loop in BASIC

I want to have a game get gradually faster, so I tried something like: 10 D%=100 20 REPEAT 30 FOR I%=0 TO D%:NEXT (game logic) 90 UNTIL0 That will take different amounts of time on different machines, in different weather, during different phases of the moon, when a disk is still rotating, when a n...
by jgharston
Thu Jul 23, 2020 6:05 pm
Forum: off-topic
Topic: Publishing Code on the Web
Replies: 8
Views: 297

Re: Publishing Code on the Web

by jgharston
Thu Jul 23, 2020 6:04 pm
Forum: off-topic
Topic: Publishing Code on the Web
Replies: 8
Views: 297

Re: Publishing Code on the Web

I use Ben Ryves' BBC BASIC syntax highlighter that takes an Acorn or Russell format BASIC program file and displays it in coloured HTML. Sources at http://mdfs.net/User/JGH/Progs/php/ * bbc.php - takes the bbc.php?filename, validates it, does some guesswork based on the file extension, calls bbcbasi...
by jgharston
Tue Jul 21, 2020 11:12 pm
Forum: programming
Topic: Drawing lines - BASIC vs machine code
Replies: 48
Views: 1317

Re: Drawing lines - BASIC vs machine code

1) Basic uses generic drawing routines, so every time you make a call to the line drawing routine it has to go through initialisation, work out X,Y coordinates relative to the character based screen memory, then plot the all pixels. No it doesn't, the operating system does that. The whole point of ...
by jgharston
Mon Jul 20, 2020 3:51 pm
Forum: introduce yourself
Topic: Hello from Sheffield!
Replies: 10
Views: 336

Re: Hello from Sheffield!

(waves from the hills of Walkley)
by jgharston
Mon Jul 20, 2020 3:50 pm
Forum: programming
Topic: Declaring Variables
Replies: 5
Views: 296

Re: Declaring Variables

It doesn't seem to initialise variables to a null value, it's *specified* to initialise variables to a null value. It can be very useful for things like cleanup code where you don't know if something might exist or not, or initialisation where you want to be able to call the initialiser multiple tim...
by jgharston
Sun Jul 19, 2020 8:18 pm
Forum: 8-bit acorn software: other
Topic: BASIC 4 / Master Incompatibility
Replies: 3
Views: 270

Re: BASIC 4 / Master Incompatibility

This looks like one of the odd cases where ERL is not what you would expect it to be, particularly when you say PAGE is moved to &4000, the search for the error line could well be looking in the wrong memory. Another issue is there could well be more than one line 180 is the program text has been ar...
by jgharston
Fri Jul 17, 2020 1:04 pm
Forum: programming
Topic: Big machine code programs
Replies: 14
Views: 472

Re: Big machine code programs

I similarly use a tool to assemble from disk, *ASSEM uses the BBC BASIC assembler to assemble from source files.
by jgharston
Fri Jul 17, 2020 12:52 pm
Forum: programming
Topic: Which keywords were introduced the various BBC BASIC versions?
Replies: 2
Views: 158

Re: Which keywords were introduced the various BBC BASIC versions?

jay wrote:
Fri Jul 17, 2020 12:43 pm
Is there a breakdown anywhere of the keywords supported in each version of BBC BASIC?
http://mdfs.net/Docs/Comp/BBCBasic/Tokens
by jgharston
Fri Jul 17, 2020 12:31 pm
Forum: 8-bit acorn emulators
Topic: Model Master 128+Acorn Z80 Second Processor
Replies: 30
Views: 1211

Re: Model Master 128+Acorn Z80 Second Processor

I will check that out. Meanwhile I have found a bug in the 2.00 client ROM: bug.png Yes, that's noted in the documentation. As you wrote, if running on a Master the client code puts the 6502 support code at &6xxx instead of at &2xxx, but it assumes that a shadow screen has been selected. If a non-s...
by jgharston
Fri Jul 17, 2020 12:21 pm
Forum: programming
Topic: BBC Basic Keywords - Mac updates, questions
Replies: 13
Views: 485

Re: BBC Basic Keywords - Mac updates, questions

It's worth pointing out the logical struture that &C6 xx are extended functions, &C7 xx are extended immediate commands and &C8 xx are extended commands, rather than them being just arbitarily thrown together.

And BasConv is updated to tokenise BY where appropriate.
by jgharston
Mon Jul 13, 2020 10:19 am
Forum: 32-bit acorn software: other
Topic: Roll your own RISC OS 3.1x
Replies: 11
Views: 2582

Re: Roll your own RISC OS 3.1x

The "disc:" prefix really should be "file:". Functionality not implementation and all that. I pull my files in from net: not from adfs: :)
by jgharston
Mon Jul 13, 2020 10:13 am
Forum: 8-bit acorn emulators
Topic: Model Master 128+Acorn Z80 Second Processor
Replies: 30
Views: 1211

Re: Model Master 128+Acorn Z80 Second Processor

Now that's an interesting approach. Looking at the CP/M API that isn't something it makes easy. Is there any documentation of what SJ have done in their BDOS? See http://mdfs.net/Software/CPM/ZNOS/ Essentially, access to a CP/M file "name.ext" looks for a file "ext.name" in the BBC current directory.

Go to advanced search