Search found 74 matches

by hjalfi
Fri Nov 17, 2017 3:57 pm
Forum: emulators
Topic: Recommended emulator for Linux?
Replies: 8
Views: 416

Re: Recommended emulator for Linux?

(belatedly) Yes, thank you for looking at the issues! I hope my bug reports have been useful. I really like b-em --- the debugger (particularly the tube debugger) has been invaluable getting Cowgol up and running. The speedup options help too. I haven't used the hard drive emulation stuff yet, becau...
by hjalfi
Thu Nov 09, 2017 11:10 am
Forum: software: other
Topic: API for renaming files?
Replies: 6
Views: 268

Re: API for renaming files?

The Advanced User's Guide doesn't mention anything above OSFSC 8. This is in the context of b-em's copy of VDFS, which doesn't implement features like deleteing or renaming files (most of them just silently do nothing, causing my build scripts to fail in hilarious fashions). It seems like a very odd...
by hjalfi
Sun Nov 05, 2017 7:25 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Re: Cowgol: actually a thing

Belated, due to other projects and Windows barfing on my Linux partition... thankfully all my actual *data* was elsewhere, but it did take a while to figure out how to build MAME again. I hacked in support for precompiling the standard library, allowing you to skip about 8 minutes of boilerplate for...
by hjalfi
Sun Nov 05, 2017 3:25 pm
Forum: software: other
Topic: API for renaming files?
Replies: 6
Views: 268

API for renaming files?

Silly question, but...

I can't find any API way of renaming files on the MOS. I'd expect it to be in OSFILE somewhere next to 0x06 (delete file), 0x08 (create directory) etc. But there's nothing.

Does one exist, or is it only implemented via *RENAME?
by hjalfi
Sun Oct 15, 2017 5:57 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Re: Cowgol: actually a thing

Not really --- the internal representation doesn't use symbols, so there's no way for two object files to tell each other when they're referring to the same object. Also, the classifier phase needs access to the entire program in order to build the graph to do variable placement (which is the magic ...
by hjalfi
Sun Oct 15, 2017 1:13 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Re: Cowgol: actually a thing

I got it running in MAME, with hopefully more accurate timing and floppy disk noises: https://www.youtube.com/watch?v=1wLATW7sVXs The bad news is that the 'Hello, world!' compilation now takes 1010 seconds, or nearly seventeen minutes. It sounds like nearly all the time is spent waiting for disk see...
by hjalfi
Sun Oct 15, 2017 11:54 am
Forum: emulators
Topic: MAME: Tube devices
Replies: 66
Views: 2606

Re: MAME: Tube devices

It works! No nice floppy disk noises, though --- MESS claims the floppy sound drivers are enabled. (I was rather wanting to hear the disks so I could get a handle on how much time was being wasted on seeks.) Is there a flag to enable it somewhere? Also, even with the 1770 controller, bbcb won't moun...
by hjalfi
Sun Oct 15, 2017 10:18 am
Forum: emulators
Topic: MAME: Tube devices
Replies: 66
Views: 2606

Re: MAME: Tube devices

Well, I got MAME built, and huge it is too; but it's looking for two specific 4kB ROM files: 6502tube.rom and 65C102_BOOT_110.rom. The only Tube ROMs I can find are 2kB, and don't work. (e.g. here: http://mdfs.net/Software/Tube/6502/)

Any suggestions on where to find these?
by hjalfi
Fri Oct 13, 2017 1:40 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Re: Cowgol: actually a thing

I don't actually have any real hardware, so all this is running on an emulator. I mostly use b-em. I've noticed that b-em's floppy disk noises aren't accurate, and it just classifies seeks into single step / short / medium / long, with timings to match, so I believe it's unfairly slow. Without the f...
by hjalfi
Fri Oct 13, 2017 1:35 pm
Forum: emulators
Topic: MAME: Tube devices
Replies: 66
Views: 2606

Re: MAME: Tube devices

I'm looking for a version of MAME which supports the 6502 coprocessor --- it looks from this thread like it's working now? Any suggestions on where to find it (and use it)? The current binaries I have access to don't seem to have it (it behaves as if no coprocessor is plugged in). Do I need to build...
by hjalfi
Thu Oct 12, 2017 10:42 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Re: Cowgol: actually a thing

by hjalfi
Wed Oct 11, 2017 11:19 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Re: Cowgol: actually a thing

...and I just found the first bug! Looks like there's something wrong with the things table --- there are duplicate entries when the offset is bigger than 0x8000. Sigh.

Incidentally, if you ever want to know what a BBC Micro sounds like when it's swapping, Cowgol is for you.
by hjalfi
Wed Oct 11, 2017 11:07 pm
Forum: projects
Topic: Cowgol: actually a thing
Replies: 14
Views: 549

Cowgol: actually a thing

(This is a new topic because the previous one was misleadingly titled and had degenerated into me complaining about how terrible the 6502 was. Plus, this is a major milestone. Is that okay?) I am very pleased, gleeful even, to announce the first proper release of Cowgol, my almost self hosted fully ...
by hjalfi
Sun Oct 08, 2017 9:20 am
Forum: software: classic games
Topic: "Adventure Island" Does anyone know it??
Replies: 37
Views: 3412

Re: "Adventure Island" Does anyone know it??

I don't remember there being any PvP elements in the game, so any competition with the other teams would solely have been about who could escape (or die) first. It was very much PvE. The actual game was pretty simple: there were some basic simulation mechanics for travelling and survival plus a bunc...
by hjalfi
Sat Oct 07, 2017 4:11 pm
Forum: software: classic games
Topic: "Adventure Island" Does anyone know it??
Replies: 37
Views: 3412

Re: "Adventure Island" Does anyone know it??

Belatedly: My school actually had Adventure Island, although they never actually taught with it; as the pudgy nerdy kid with run of the computer room I was probably the only one who played it. It was great, although quite peculiar if you only knew conventional games. It was very much based around cl...
by hjalfi
Sat Oct 07, 2017 10:17 am
Forum: emulators
Topic: Recommended emulator for Linux?
Replies: 8
Views: 416

Re: Recommended emulator for Linux?

No problem --- bugs added (I also found another less obvious VDFS crash).

I like b-em; it's good to know it's still being worked on.
by hjalfi
Fri Oct 06, 2017 10:43 pm
Forum: emulators
Topic: Recommended emulator for Linux?
Replies: 8
Views: 416

Recommended emulator for Linux?

I'm looking for a decent Linux BBC emulator with Tube and VDFS support. Right now I'm using the version of b-em from https://github.com/stardot/b-em, but it hasn't been updated for months, and people aren't talking about it much --- it looks like a lot of the effort has switched to beebem, which is ...
by hjalfi
Sat Sep 30, 2017 10:06 am
Forum: software: other
Topic: Wanted: archiver, zip/tar equivalent
Replies: 12
Views: 426

Re: Wanted: archiver, zip/tar equivalent

I can't duplicate the odd *RUN behaviour, so I must have broken the file attributes somehow --- never mind that, then. But there are definitely some oddities with subdirectory handling: if Unzip is run with an empty destination path, then it's unable to create destination files in subdirectories, bu...
by hjalfi
Fri Sep 29, 2017 6:19 am
Forum: software: other
Topic: Wanted: archiver, zip/tar equivalent
Replies: 12
Views: 426

Re: Wanted: archiver, zip/tar equivalent

Reasonably sure I did, but cocking that up is certainly the most likely explanation. I'll check.
by hjalfi
Thu Sep 28, 2017 4:06 pm
Forum: software: other
Topic: Wanted: archiver, zip/tar equivalent
Replies: 12
Views: 426

Re: Wanted: archiver, zip/tar equivalent

That's interesting. BBCZip expanded the files in the zip file root directory and then failed with (IIRC) a file not found equivalent error on the first file in a subdirectory. (Trying with BBCZip's own zipfile.) I was reading from VDFS and writing to ADFS, although I can't remember now whether the c...
by hjalfi
Thu Sep 28, 2017 6:41 am
Forum: software: other
Topic: Wanted: archiver, zip/tar equivalent
Replies: 12
Views: 426

Re: Wanted: archiver, zip/tar equivalent

(Turns out I'm doing ADFS an injustice. b-em's disk drive sounds are very, very approximate, and any disk seek larger than a certain amount makes the seek-all-the-way-across-the-disk-to-track-zero-and-back-again sound; but also takes the same amount of time as seeking all the way across the disk etc...
by hjalfi
Thu Sep 28, 2017 6:38 am
Forum: software: other
Topic: kryoflux for the BBC
Replies: 7
Views: 1023

Re: kryoflux for the BBC

I used a Kryoflux a while back to get the files off a twenty-five year old DFS floppy. It's a bit weird, but worked well. The bit you're missing is that there are three distinct tools: - you use the Kryoflux to record the magnetic state of the disk; - then you use one of Kyroflux's analysis tools to...
by hjalfi
Mon Sep 25, 2017 10:40 pm
Forum: programming
Topic: Finding HIMEM on the Tube
Replies: 2
Views: 152

Finding HIMEM on the Tube

The docs say I can use OSBYTE 0x84 to read the top of user memory, a.k.a. HIMEM. This works fine on a normal B or Master, returning either the base of video memory or 0x8000. On the Tube, it (according to the manual) returns the load address of the currently running program ; which is normally 0x800...
by hjalfi
Mon Sep 25, 2017 10:07 pm
Forum: software: other
Topic: Wanted: archiver, zip/tar equivalent
Replies: 12
Views: 426

Re: Wanted: archiver, zip/tar equivalent

BBCZip doesn't seem to like hierarchical file systems, but it looks like Archiver works fine --- thanks. (Although I haven't found a way for it to extract to another other than the CWD yet.) Also, ADFS is really, really slow when dealing with directories. I don't know why it keeps bouncing the head ...
by hjalfi
Mon Sep 25, 2017 3:58 pm
Forum: software: other
Topic: Wanted: archiver, zip/tar equivalent
Replies: 12
Views: 426

Wanted: archiver, zip/tar equivalent

Does anyone know of a tool for the MOS which archives/dearchives multiple files to/from a single file? Like zip -0 or tar; compression optional. I particularly need support for the MOS execution and load addresses, and hierarchical file system support. I'm sure such a thing must exist from the dialu...
by hjalfi
Sat Sep 23, 2017 10:08 pm
Forum: hardware
Topic: Origins of the BBC keyboard layout
Replies: 11
Views: 613

Re: Origins of the BBC keyboard layout

I've got the datasheet for mine, thanks --- scanned to https://drive.google.com/file/d/0ByWQADzU1i2waDE5c1RuZmZzbVE/view?usp=sharing. @Rev: did you ever get yours to work? A scope is showing that mine is scanning the keyboard matrix, but it's not producing observable signals on the outputs. The 8048...
by hjalfi
Wed Sep 20, 2017 9:05 pm
Forum: hardware
Topic: Origins of the BBC keyboard layout
Replies: 11
Views: 613

Re: Origins of the BBC keyboard layout

@Revaldinho: yes! That's the exact place! Judging by the 'aw' I got when the owner saw me with the keyboard, I suspect it was an old friend. It's still full of wonderfully strange stuff, a lot of it looking like job lots of old-new stock --- weird and ancient connectors, bins full of things made out...
by hjalfi
Sat Sep 16, 2017 6:00 pm
Forum: hardware
Topic: Origins of the BBC keyboard layout
Replies: 11
Views: 613

Origins of the BBC keyboard layout

I just scored this from an electronics shop in Zürich. Cost me 25 francs. IMG_20170916_191811.jpg It's a brand new Maxi-Switch MAX II keyboard, made about 1979. From the press release, https://www.computerwoche.de/a/max-tastatur-fuer-oems,1193136, poorly translated out of German by myself: The MAX I...
by hjalfi
Mon Sep 11, 2017 10:21 pm
Forum: software: other
Topic: Slow OSBGET file access
Replies: 8
Views: 379

Re: Slow OSBGET file access

After much work and many Cowgol bugfixes (turns out that trying to do certain arithmetic operation where the right-hand parameter is placed in zero page generates corrupt code, who knew!), I have a buffered version of my benchmark. Unbuffered, 700 bytes per second: https://github.com/davidgiven/cowg...
by hjalfi
Sun Sep 10, 2017 6:26 pm
Forum: projects
Topic: Cowgol achieves first light!
Replies: 20
Views: 922

Re: Cowgol achieves first light!

Cowgol's type rules for arithmetic operators are essentially T = T op T, so in this case it's doing a 16bitx16bit=32bit multiply and discarding the top two bytes of the result. That was a deliberate choice --- it keeps the type rules simple and it means I can use the same helper routine for signed a...

Go to advanced search