Search found 1956 matches

by sweh
Fri Oct 19, 2018 10:38 am
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC desktop shortcut (Linux)
Replies: 19
Views: 177

Re: BBC BASIC desktop shortcut (Linux)

Now you don't need to generate this file at installation time; it can be part of the package. Since (presumably) there's no alternative but to generate the bbcsdl.desktop file at installation time, I don't really understand what the problem is with generating the bbclaunch file as well. Is your con...
by sweh
Fri Oct 19, 2018 2:34 am
Forum: software & utilities for the pc, mac or unix
Topic: BBC BASIC desktop shortcut (Linux)
Replies: 19
Views: 177

Re: BBC BASIC desktop shortcut (Linux)

For the record, here's the script I ended up with: echo "env IBUS_ADDRESS=0 $MYDIR/bbcsdl" > $MYDIR/bbclaunch chmod +x $MYDIR/bbclaunch From a packaging aspect, that is really nasty. You should just have "bbclaunch" work out where it is and so have the file already in the archive. Something like (u...
by sweh
Mon Oct 01, 2018 6:51 pm
Forum: other vintage computer hardware, software and games
Topic: A micro-controller for the retro enthusiast
Replies: 11
Views: 450

Re: A micro-controller for the retro enthusiast

a lot of I/o puns could be useful. Trying to think if an I/O pun... Sorry. Made me smile! You plug your I/O in Your I/O out In Out In Out You blow the dirt right out You clean the dirty contacts And you turn it on That's what it's all about! Oh, the dirty contacts Oh the dirty contacts Oh the dirty...
by sweh
Sun Sep 30, 2018 6:48 pm
Forum: hardware
Topic: 2 (or more) ROMs in the same image
Replies: 9
Views: 339

Re: 2 (or more) ROMs in the same image

The problem is that the ROM will be assembled to be at &8000 and will be looking for data and subroutines based on it. If you have the source code for one of the ROMs and can compile it to be at &A000 then, yes, you can patch the first ROM to jump to your code first, then jump back to the original R...
by sweh
Fri Sep 28, 2018 12:37 am
Forum: hardware
Topic: This is not a language
Replies: 38
Views: 804

Re: This is not a language

The Master has a battery inside it that keeps configuration settings. If the battery goes flat then configuration is lost. This is pretty common on old machines. So first thing you should do is change the battery (assuming the person you bought it from already hasn't done it). While you're in there ...
by sweh
Fri Sep 28, 2018 12:22 am
Forum: hardware
Topic: New econet setup
Replies: 75
Views: 1507

Re: New econet setup

flaxcottage wrote:
Thu Sep 27, 2018 8:27 pm
MMC card and Econet are incompatible. Both try to use the same workspace. :?
Unless you use the SWR version of MMFS...
by sweh
Mon Sep 24, 2018 5:42 pm
Forum: software: other
Topic: ADE / ADE Plus Help
Replies: 6
Views: 404

Re: ADE / ADE Plus Help

There are ADE Editor and ADE 6500 ROMs available at https://acorn.huininga.nl/pub/roms/System%20Software/

Dunno if they're what you need!
by sweh
Fri Sep 21, 2018 1:33 am
Forum: hardware
Topic: Model B serial speeds
Replies: 13
Views: 488

Re: Model B serial speeds

The tape loader uses CRC because tape loading is notoriously unreliable. If your serial code is more reliable than maybe you can use a simpler check (eg EOR).
by sweh
Tue Sep 18, 2018 6:22 pm
Forum: hardware
Topic: New econet setup
Replies: 75
Views: 1507

Re: New econet setup

FWIW, just as the default value for the file server is 254, the default value for the print server is 235.
by sweh
Mon Sep 17, 2018 5:30 pm
Forum: hardware
Topic: New econet setup
Replies: 75
Views: 1507

Re: New econet setup

The server doesn't use SWRam; it runs on the 2nd processor.
by sweh
Sat Sep 15, 2018 12:56 pm
Forum: emulators
Topic: MAME on Debian looking "blurred"
Replies: 9
Views: 282

Re: MAME on Debian looking "blurred"

Ah...

Code: Select all

-gl_glsl -gl_glsl_filter 0
Seems to help massively.

And setting those options in mame.ini gives me nice clean MrEe :-)
by sweh
Sat Sep 15, 2018 12:48 pm
Forum: emulators
Topic: MAME on Debian looking "blurred"
Replies: 9
Views: 282

Re: MAME on Debian looking "blurred"

Window mode doesn't make any difference.

FWIW, here's an example of how it looks using opengl
opengl.png
vs soft video.
soft.png
by sweh
Fri Sep 14, 2018 1:48 am
Forum: emulators
Topic: MAME on Debian looking "blurred"
Replies: 9
Views: 282

Re: MAME on Debian looking "blurred"

It's hard to know if others are blurred 'cos I didn't play many arcade games when I was a kid, so I don't know if the visuals are right or not :-) Defender, Pacman, Ms-Pacman, Robotron, Gauntlet, Tron, Marble Madness, Galaga all seem OK. Even BBC in any mode except 2 and 5 are OK. $HOME/.mame/mame.i...
by sweh
Fri Sep 14, 2018 12:08 am
Forum: emulators
Topic: MAME on Debian looking "blurred"
Replies: 9
Views: 282

Re: MAME on Debian looking "blurred"

Well, the dependency issue didn't matter. It was mostly a clean build. Took about 1hr20 on my old AMD Phenom(tm) II X4 830 Processor machine. So now I have mame 0.201 (64bit) running. And the results appear identical... except "soft" mode is even slower. Still perfect picture, but slow and choppy au...
by sweh
Thu Sep 13, 2018 10:06 pm
Forum: emulators
Topic: MAME on Debian looking "blurred"
Replies: 9
Views: 282

Re: MAME on Debian looking "blurred"

Hmm. opengl was the default. "bgfx" also was blurry. "soft" was excellent quality... but the CPU load was clearly taxing 'cos it caused audio to stutter.

Maybe I'll see about compiling the latest one... but I'm afraid it'll send me into dev library dependency hell if I'm not careful!
by sweh
Thu Sep 13, 2018 2:32 am
Forum: emulators
Topic: MAME on Debian looking "blurred"
Replies: 9
Views: 282

MAME on Debian looking "blurred"

I have a Debian based desktop with a 1920x1080 monitor. Debian comes with MAME 0.182 as an installable package ("apt-get install mame"). I have the .200 ROM collection (via archive.org). I can run "mame bbcb" and it works. So far, so good. Now I run "mame bbcb -flop1 MrEe.ssd". Press shift+f12... an...
by sweh
Sun Sep 09, 2018 8:40 pm
Forum: emulators
Topic: SSDs in Strange Sizes
Replies: 5
Views: 235

Re: SSDs in Strange Sizes

My perl utils always fills out to 200K truncated disks like this, and (unless told otherwise) assumes standard SSD 80*10. I think it might be useful to know the history behind SSD as a format. Why 80 track by default, for example? Surely if the main use was to store images of discs as distributed, ...
by sweh
Sun Sep 09, 2018 4:11 pm
Forum: emulators
Topic: SSDs in Strange Sizes
Replies: 5
Views: 235

Re: SSDs in Strange Sizes

I've noticed some utilities try to get confused if they think a disk might be double-sided interleaved. Unfortunately, I don't think there is a perfect way of detecting these. The Arcadians disk looks well enough formatted, as long as the DFS being used can handle the odd size in the header. My perl...
by sweh
Mon Sep 03, 2018 5:26 pm
Forum: off-topic
Topic: Arrays in Bash
Replies: 10
Views: 212

Re: Arrays in Bash

Shouldn't that be: caption="$1" filename="$2" The difference only matters if the user runs the script with a caption or filename that contains white space. Not with whitespace, no. $ cat x #!/bin/bash title=$1 echo "$title" $ ./x "hello there" hello there $ ./x "hello there everyone" hello there ev...
by sweh
Mon Sep 03, 2018 5:22 pm
Forum: off-topic
Topic: Arrays in Bash
Replies: 10
Views: 212

Re: Arrays in Bash

While I was making lunch my subconscious threw up this answer to not needing arrays... set -- *.jpg while [ $# != 0 ] do thisfile=$1 nextfile=$2 shift if [ -n "$nextfile" ] then echo Current file is $thisfile and next is $nextfile else echo On the last file $thisfile fi done
by sweh
Mon Sep 03, 2018 3:57 pm
Forum: off-topic
Topic: Arrays in Bash
Replies: 10
Views: 212

Re: Arrays in Bash

I've been doing shell scripting for almost 30 years, so here's a couple of hints... FWIW you could save the caption and filename as variables caption=$1 filename=$2 Now the positional parameters can be re-used as necessary. Just refer to $caption and $filename. This also makes it clearer what the pa...
by sweh
Mon Sep 03, 2018 1:48 am
Forum: off-topic
Topic: Arrays in Bash
Replies: 10
Views: 212

Re: Arrays in Bash

I am trying to enhance a basic bash script I use which makes an index page of hyperlinks to all image files in a directory. At the minute it just does a "for images in *.jpg do echo <img src $images etc.....> done" type operation. Now I want to know how many files I am working with before I start. ...
by sweh
Mon Sep 03, 2018 1:44 am
Forum: off-topic
Topic: Arrays in Bash
Replies: 10
Views: 212

Re: Arrays in Bash

BeebMaster wrote:
Mon Sep 03, 2018 1:03 am
images=(*.jpg)
This is the correct syntax for creating an array out of a glob in bash. Your other attempts were... wrong.

In ksh93 an alternative would be

Code: Select all

set -A images -- *.jpg
but bash doesn't grok that syntax.
by sweh
Tue Aug 21, 2018 7:17 pm
Forum: development tools
Topic: Deploy-and-run from PC to Beeb?
Replies: 33
Views: 883

Re: Deploy-and-run from PC to Beeb?

FWIW, with hoglet's updates, I did some speed tests (basically *LOAD/*SAVE a 16Kb chunk of memory) with UPURSFS: Loads: 999 in 3092.95 secs ==> 15.609 Mbytes at 42335.3 bits/s Saves: 1000 in 5501.10 secs ==> 15.625 Mbytes at 23826.5 bits/s (There was only 999 LOADs 'cos I forgot to create the seed f...
by sweh
Wed Aug 15, 2018 11:38 pm
Forum: emulators
Topic: Printer Emulation..(ie ESC P printer emulation)
Replies: 28
Views: 791

Re: Printer Emulation..(ie ESC P printer emulation)

At a first glance, the "epsonps" looks OK. Better than I expect! Would be interesting to see how well it handles longer results (eg is the page length correct).

escp2topbm... hmm. Maybe that'd work for something like PageMaker output? Probably would break with multi-pages, though.
by sweh
Wed Aug 15, 2018 10:33 pm
Forum: emulators
Topic: Printer Emulation..(ie ESC P printer emulation)
Replies: 28
Views: 791

Re: Printer Emulation..(ie ESC P printer emulation)

Also, on Linux, there's "escp2topbm" as part of netpbm-progs escp2topbm reads an ESC/P2 printer control stream as input. It pro- duces a PBM image as output. escp2topbm filters the raster graphic content from an Epson ESC/P2 printer control stream and writes the image it would print as a stan- dard ...
by sweh
Wed Aug 15, 2018 10:23 pm
Forum: emulators
Topic: Printer Emulation..(ie ESC P printer emulation)
Replies: 28
Views: 791

Re: Printer Emulation..(ie ESC P printer emulation)

Check out https://pd.spuddy.org/fs/source/usenet/compsrcs/misc/volume20/epsonps/ This is from comp.sources.misc from 1991 The program epsonps converts epson printer codes from an input file to PostScript. It is an excellent ASCII listing printer. Command line options are provided for auto linefeed, ...
by sweh
Tue Aug 14, 2018 2:16 am
Forum: software: other
Topic: Educational Archive online
Replies: 20
Views: 706

Re: Educational Archive online

I wonder if my game will ever show up again... My Mum was a teacher at a local infant school. I created a simple 'number block' game for her; it was a MODE 7 game that displayed two numbers in a sum with the relevant number of blocks, and the kids needed to count them to do the addition. Now I was a...
by sweh
Tue Aug 14, 2018 2:07 am
Forum: software & utilities for the pc, mac or unix
Topic: Matrix Brandy BASIC V for Linux with SDL: V1.21.15 released
Replies: 317
Views: 8873

Re: Matrix Brandy BASIC V for Linux with SDL: V1.21.9 released

Argh!!!! No no no no no no no! OSBYTEs <&80 take and return only ONE parameter. Don't break the API! Not strictly true, according to the AUG: OSBYTE &01 (1) *FX 1 Read/write the user flag Entry parameters: The user flag is replaced by (<old value> AND Y) EOR X i.e. Y=0 for write, Y=&FF for read On ...
by sweh
Sun Aug 12, 2018 2:08 pm
Forum: development tools
Topic: Deploy-and-run from PC to Beeb?
Replies: 33
Views: 883

Re: Deploy-and-run from PC to Beeb?

A bit of hacking around last night suggested to me that nobody has been using the Perl version on Windows. Windows would need to use Win32::SerialPort instead of Device::SerialPort, but there are other linux-specific Perl commands (use of stty, which apparently doesn't exist on Windows) in the UPUR...