Search found 426 matches

by SteveF
Wed Sep 13, 2017 9:16 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Thanks Kieran, that works a treat. Here's a screenshot of my test program running under the new emulator - there are no longer ugly background-coloured gaps between the characters. stem-videonula-background-colour-2.png It's still the case that only the last few lines on that screenshot are "tr...
by SteveF
Wed Sep 13, 2017 9:12 pm
Forum: emulators
Topic: Emulator support for VideoNuLA
Replies: 29
Views: 1245

Re: Emulator support for VideoNuLA

Thanks Kieran! I've given the new version a test and it works a treat - I've posted a screenshot of my test program under the new version back over in the STEM thread.
by SteveF
Sun Sep 10, 2017 2:12 pm
Forum: software: other
Topic: Slow OSBGET file access
Replies: 8
Views: 227

Re: Slow OSBGET file access

Just to add some semi-concrete timing information (sadly in PLASMA not BASIC so I won't quote any code), writing 1000 copies of the string "1234567890qwertyuiop\n" to a file on b-em in Master 128 mode (DFS 2.24) takes 27.8 seconds using OSBPUT and 20.2 seconds using OSGBPB (one call per st...
by SteveF
Sat Sep 09, 2017 6:13 pm
Forum: projects
Topic: Cowgol achieves first light!
Replies: 20
Views: 720

Re: Cowgol achieves first light!

Nice one! I'm not sure it's helpful, but could a more efficient left shift be done by repeated adding? So you'd implement x=x<<3 as 'x=x+x; x=x+x; x=x+x'. The more I think about it the less likely this seems to be a good idea, but I'll mention it anyway on the offchance. It might be interesting to t...
by SteveF
Fri Sep 08, 2017 11:07 pm
Forum: projects
Topic: Cowgol achieves first light!
Replies: 20
Views: 720

Re: Cowgol achieves first light!

It's still a nice milestone to compile a non-trivial program! Congratulations! FWIW, I rewrote this program in PLASMA to see how it worked there. Do you have any objections to me including it in my git repo as sample PLASMA code? If I take out the vsync() call and add some ad-hoc timing logic, on an...
by SteveF
Fri Sep 08, 2017 5:46 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Great, thanks!
by SteveF
Fri Sep 08, 2017 12:10 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Thanks Rob - I get a tiny glimpse of the associated chaos from watching my niece start school :-), so I appreciate you coming back to me at all... This is good news, as it means that text with multiple background colours won't have to have that stripy appearance on real hardware. That doesn't mean t...
by SteveF
Wed Sep 06, 2017 6:52 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Thanks Rob, good to know the emulator's right here. I'm afraid I don't understand your explanation, so just for my general education can I ask for some more details? I know nothing about hardware, but I would have imagined that for each 8-bit byte %abcdefgh of video data in 3-bit attribute mode, Vid...
by SteveF
Tue Sep 05, 2017 10:31 am
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Welcome back! :-)
by SteveF
Mon Sep 04, 2017 9:42 pm
Forum: projects
Topic: Starting a Prince of Persia port...
Replies: 64
Views: 3446

Re: Starting a Prince of Persia port...

Thanks for this, interesting stuff. I may be missing something, but can't you take comfort from the successful C64 port that you at least won't run out of ZP locations? I don't think the C64 port had two zero pages available. I guess the issue is perhaps that you're not able to throw the OS out as y...
by SteveF
Sun Sep 03, 2017 4:10 pm
Forum: hardware
Topic: Master - SD-Card Interface Problem
Replies: 16
Views: 384

Re: Master - SD-Card Interface Problem

YuT666 wrote:Forgot to type *MMFS first ...

Glad you got it working!

If you want MMFS to be the default filing system, you can type:

Code: Select all

*CONFIGURE FILE 8

then you won't have to remember that in the future. Or you can do SHIFT+M+BREAK instead of SHIFT+BREAK to automatically select MMFS temporarily.
by SteveF
Sun Sep 03, 2017 4:03 pm
Forum: hardware
Topic: Faulty A3020
Replies: 3
Views: 120

Re: Faulty A3020

Thanks guys! Cheers for the background info Mark, that does make sense. I've had a look at the circuit diagrams Daniel mentioned and I may have found something, or I may be doing something stupid... I'm using a multimeter on the 200 ohm range. If I connect it between the negative battery terminal on...
by SteveF
Sun Sep 03, 2017 2:03 pm
Forum: hardware
Topic: Faulty A3020
Replies: 3
Views: 120

Faulty A3020

Hi all, I'm trying to resurrect an A3020 which has been stuck in the garage for about 15 years and I'd appreciate any advice you can offer. I fear this is pushing the envelope of my hardware abilities but let's see how it goes... I tested this before it was put into storage and it did work then. It'...
by SteveF
Fri Sep 01, 2017 8:33 pm
Forum: programming
Topic: Aseembler problems with #< and >#
Replies: 9
Views: 197

Re: Aseembler problems with #< and >#

PS Can you try giving the '-d' option to beebasm to tell it to dump the global symbol table? It would be interesting to see what it thinks the value of room1 is in your example. In my example it says: [{'room1':6534L,'room2':6543L,'start_rooms':2304L}] and 6534=&1986 as we'd expect.
by SteveF
Fri Sep 01, 2017 8:32 pm
Forum: programming
Topic: Aseembler problems with #< and >#
Replies: 9
Views: 197

Re: Aseembler problems with #< and >#

I don't understand this. I couldn't quite assemble the source from your post, but here's a tweaked version which I don't think is significantly different: steven@nine:~/src/beebasm$ cat z9.6502 current_room = &9a org &900 .start_rooms lda #<room1 sta current_room lda #>room1 sta current_room...
by SteveF
Thu Aug 31, 2017 8:59 pm
Forum: development tools
Topic: beebasm putbasic problem
Replies: 9
Views: 275

Re: beebasm putbasic problem

Im reminded that it would be great to get a BeebAsm repo going in the stardot team; it's such a useful tool and there's a number of useful patches around now. Indeed. And we never got to the bottom of the Teletextr bug when I was getting different behaviour at runtime whilst using a locally built b...
by SteveF
Mon Aug 28, 2017 9:14 pm
Forum: development tools
Topic: beebasm putbasic problem
Replies: 9
Views: 275

Re: beebasm putbasic problem

Well it's not the swanky approach suggested by Rich, but here's a quick-ish hack to add support for BASIC abbreviations. I *think* this is equivalent to the proposed-updates branch in Tom's repo plus this change, but frankly I'm not entirely sure... https://github.com/ZornsLemma/beebasm/tree/abbrevi...
by SteveF
Sun Aug 27, 2017 9:17 pm
Forum: development tools
Topic: PLASMA virtual machine
Replies: 24
Views: 2029

Re: PLASMA virtual machine

Time for another update. As always, the code can be seen on the 'bbc' branch of my repo as mentioned in the first post, and I've attached a build of the plasma.ssd it generates. The latest upstream changes have been merged, including: ⋅ Lambda functions are now supported by the PLASMA comp...
by SteveF
Wed Aug 23, 2017 9:36 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

So here's a rather hacky prototype of an idea I had for supporting ANSI background colour codes, not just the foreground colour codes. I'd be interested to hear what you (Elminster, when he's back from holiday, and anyone else who's following along) have to say about it. Up until now, I've been trea...
by SteveF
Mon Aug 21, 2017 10:27 pm
Forum: software: classic games
Topic: "Unfixable bug" in BBC B Elite
Replies: 32
Views: 1268

Re: "Unfixable bug" in BBC B Elite

BigEd wrote:(great link to brainwagon. There's an online in-browser Minskytron here.)

That's quite addictive! :-) Thanks for the link!
by SteveF
Mon Aug 21, 2017 8:46 pm
Forum: software: classic games
Topic: "Unfixable bug" in BBC B Elite
Replies: 32
Views: 1268

Re: "Unfixable bug" in BBC B Elite

Thanks jonb, great to get this information!
by SteveF
Sat Aug 19, 2017 12:41 am
Forum: software & utilities for the pc, mac or unix
Topic: Is this project worth it?
Replies: 7
Views: 452

Re: Is this project worth it?

I think you should go-ahead. I'm sure there are a lot more people interested, in both the development and end result, than are letting on. I think a lot of members really do enjoy the 'reading' of project development - that's by judging how many 'reads' some post get against replies! This is absolu...
by SteveF
Sat Aug 19, 2017 12:38 am
Forum: projects
Topic: Starting a Prince of Persia port...
Replies: 64
Views: 3446

Re: Starting a Prince of Persia port...

Great stuff Kieran, really interesting to see the dev diary posts, so I hope they aren't adding too much extra to the workload!
by SteveF
Tue Aug 15, 2017 7:18 pm
Forum: software: classic games
Topic: "Unfixable bug" in BBC B Elite
Replies: 32
Views: 1268

"Unfixable bug" in BBC B Elite

I was reading lwn.net the other day and came across this in the comments: I can think of two pieces of software that were completed. TeX, because Knuth decreed it (and bugfixes didn't stop even then), and BBC B Elite, which must be considered to eventually have been completed because there was liter...
by SteveF
Fri Aug 11, 2017 10:11 am
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Thanks, looking good-ish... :-) You're right, just use mode 0/3/128/131 - the new mode numbers 101 etc only apply when using *VNVDU ON. How/if to use VideoNuLA is configured via the NULAxxx options to *VT102. I have some thoughts on how to improve the colour handling, with luck I will get a chance t...
by SteveF
Thu Aug 10, 2017 10:07 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

It's good in a way that you're using 3.5, it exposes various bugs. :-) For the record, this was an embarrassing slip when checking if there was already an extended vector. I checked the low byte of the vector and if it matched the low byte of the extended vector address I gave an error, without both...
by SteveF
Thu Aug 10, 2017 9:45 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Don't worry about any of the above - I just remembered you're using MOS 3.5, and I can reproduce the error in b-em with MOS 3.5. I'll take a look...
by SteveF
Thu Aug 10, 2017 9:37 pm
Forum: software: other
Topic: VT100/ANSI terminal emulation via OSWRCH
Replies: 131
Views: 3705

Re: VT100/ANSI terminal emulation via OSWRCH

Yes, it should work fine with or without a second processor enabled now. It should work on any machine in theory but I'm doing my testing with Kieran's b-em in Master mode so that should definitely work. As a general rule of thumb if it doesn't work probably best to try it with the tube off just in ...
by SteveF
Sat Aug 05, 2017 10:26 am
Forum: software: other
Topic: Getting more userspace RAM on the BBC Master
Replies: 8
Views: 481

Re: Getting more userspace RAM on the BBC Master

I appreciate it's probably not the style of thing you're looking to do, but if you're writing a compiler, you could consider generating PLASMA bytecodes instead of 6502 code - I think it's a lot more compact, and you can use up to 55K of bytecodes+data using the PLASMA VM on the tube, or 64K of byte...
by SteveF
Fri Aug 04, 2017 11:32 pm
Forum: software: other
Topic: Getting more userspace RAM on the BBC Master
Replies: 8
Views: 481

Re: Getting more userspace RAM on the BBC Master

I am not sure it would meet your use case, but one thought about how you could write a big machine code program using multiple sideways RAM banks - which I haven't tried... You could split it up into different machine code subroutines and group them arbitrarily into a series of 16K chunks, each chun...

Go to advanced search