Search found 1913 matches

by sweh
Fri May 11, 2018 12:08 am
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

So I could buy 1 diode for around $1. Or I can buy 400 for $8.

I now have so many diodes I can rectify the world. (Hmm, maybe all of them together will rectify that Brexit idiocy?).

Hopefully I'll have time this weekend to try it out.
by sweh
Sun May 06, 2018 2:28 pm
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

The transistor would work as a drop-in replacement for the relay, yeah. It doesn't prevent the need for the diode over the solenoid, though :-(
by sweh
Sun May 06, 2018 1:29 pm
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

The initial link to my site goes into a bit more detail but, to make it simple, I wanted to replace the original (broken) controller board with an Arduino Nano. That'd let me do more "computer control" of the safe via a serial port. Because I was pretty sure the Arduino wouldn't be able to...
by sweh
Sun May 06, 2018 1:30 am
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

I can't tell what solenoid it is; it's very wrapped up ( https://www.sweharris.org/Safe/large/internals.jpg ). I can find lots of pictures, but I can't find any actual specs. I've seen some for sale on aliexpress claiming to be 6V 0.35A ( https://www.aliexpress.com/item/Solenoid-for-Safe-Lock-Compat...
by sweh
Sat May 05, 2018 9:28 pm
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

Looking through my box of randomness, the only diode type I have is 1N914. I've also got a bunch 0.1uF 50V capacitors.

It's funny that two components, so small, can make such a difference :-)
by sweh
Tue May 01, 2018 4:11 pm
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

I now have a weekend project :-)

Thanks!
by sweh
Tue May 01, 2018 10:19 am
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Re: Need some electronics advice...

Thanks for the replies! If I understand correctly, then I should put a diode between VCC and GND on the input to the relay side, with the cathode on VCC and the anode on GND. That's easy enough. Similarly another one between ON and GND on the output of the relay. Should the capacitors be in the same...
by sweh
Mon Apr 30, 2018 11:23 pm
Forum: off-topic
Topic: Need some electronics advice...
Replies: 20
Views: 668

Need some electronics advice...

As previously mentioned, I used an arduino to replace a broken electronic safe controller and made it computer controlled instead: https://www.sweharris.org/post/2017-10-09-digital_safe/ The circuit design is pretty simple: https://www.sweharris.org/Safe/large/diagram.jpg But recently I've been havi...
by sweh
Wed Apr 18, 2018 10:38 pm
Forum: software & utilities for the pc, mac or unix
Topic: New Disk Image Editor
Replies: 76
Views: 2741

Re: New Disk Image Editor

I wonder if we can create something that's backwards compatible. I wonder how many tools currently read the _second_ line of the INF file? So we could have FOO_BAR load exec Locked V2 NAME:FOO BAR v2 aware code can look for the second line and if it's V2 then read the 3rd line for NAME: then use th...
by sweh
Wed Apr 18, 2018 2:02 am
Forum: software & utilities for the pc, mac or unix
Topic: New Disk Image Editor
Replies: 76
Views: 2741

Re: New Disk Image Editor

And you can put filenames in "" so e.g. a improvement could be something like this, which is invalid as regular inf, and thus utilities not updated for this will/should give an error message, but bbcim and other utilities could be changed to incorporate this in the next version and then d...
by sweh
Mon Apr 16, 2018 12:46 am
Forum: other vintage computer hardware, software and games
Topic: A special day for a very special computer!
Replies: 13
Views: 785

Re: A special day for a very special computer!

I think you have to remember that, when it was released, the closest most people came to a computer was when they received their payslip, bank statement or telephone bill which had been printed by a mainframe. When I first saw a microcomputer, the ZX81's pre-decessor, the ZX80, it was the only comp...
by sweh
Fri Mar 30, 2018 1:34 am
Forum: programming
Topic: BASIC 2 string arrays
Replies: 4
Views: 306

Re: BASIC 2 string arrays

FWIW, the "BASIC ROM user guide" (OCR'd here http://stardot.org.uk/forums/viewtopic.php?t=13861) and "Advanced BASIC ROM user guide" ( http://stardot.org.uk/forums/viewtopic.php?f=42&t=13860 ) are invaluable resources on how BASIC works. It's been decades (literally) since I ...
by sweh
Thu Mar 29, 2018 11:18 am
Forum: software & utilities for the pc, mac or unix
Topic: New Disk Image Editor
Replies: 76
Views: 2741

Re: New Disk Image Editor

I realise that it's a "standard" that's been used for forever, but I would add my two penneth by suggesting it's a standard that I've not had to worry about since about 1998 - in fact I've actively avoided using anything that saves files like that simply as it's so messy. Why not support ...
by sweh
Mon Mar 26, 2018 10:56 pm
Forum: hardware
Topic: read out 23128 rom
Replies: 7
Views: 437

Re: read out 23128 rom

Well, it's definitely a variation of BASIC 1, based on the copyright and that it only has OPENIN/OPENOUT (no OPENUP). Doing a binary compare to a version of BASIC1 that I had BITD I can see it's not the same eg at A63 your ROM has had another byte added 0a63 0D 53 S 0a64 53 S 54 T 0a65 54 T 4F O 0a6...
by sweh
Sun Mar 25, 2018 3:46 am
Forum: hardware
Topic: HostFS and microcontrollers?
Replies: 48
Views: 2865

Re: HostFS and microcontrollers?

Out of interest do you use &9B or &7F as <esc> on your controller? Hmm, when did the Serial Tube escape character change? My code was based on JGH's original routines which had 600 esc=&7F Interesting; I see the "protocol" document has changed. Previously it read An escape byt...
by sweh
Sun Mar 25, 2018 3:21 am
Forum: hardware
Topic: HostFS and microcontrollers?
Replies: 48
Views: 2865

Re: HostFS and microcontrollers?

Ah... this thread now explains why Dave PM'd me on this topic ;-) (I've been busy so not been keeping up with this forum for a few weeks). It all makes sense, now! Martin, this looks like the race condition I pointed out to you way back when (2013, according to my email history... wow that was a lon...
by sweh
Fri Mar 16, 2018 1:35 pm
Forum: off-topic
Topic: Elite for Emacs
Replies: 1
Views: 311

Re: Elite for Emacs

... and "Elite the Musical". https://youtu.be/y-hxWLoOjgw
by sweh
Fri Mar 16, 2018 1:31 pm
Forum: off-topic
Topic: Elite for Emacs
Replies: 1
Views: 311

Elite for Emacs

http://sami.salkosuo.net/elite-for-emacs/

For that time you want to do intergalatic trading via your text editor...
by sweh
Wed Mar 14, 2018 11:18 am
Forum: development tools
Topic: BeebAsm
Replies: 73
Views: 4677

Re: BeebAsm

On Linux /usr/include/math.h has

Code: Select all

# define M_PI          3.14159265358979323846  /* pi */


Is there no equivalent on OpenBSD?
by sweh
Wed Mar 14, 2018 2:04 am
Forum: software: other
Topic: Wanted: ENFS
Replies: 9
Views: 757

Re: Wanted: ENFS

That's funny.... "Supplied to The Isle College, Wisbech". My cousins live just 17 miles away from there (Cowbit). I may have been in that town once or twice, as a kid.
by sweh
Tue Mar 13, 2018 10:34 pm
Forum: development tools
Topic: BeebAsm
Replies: 73
Views: 4677

Re: BeebAsm

FWIW, I just compiled my RAM Manager and Hostfs:UPURS ROMs with this version and get identical results to 1.08. My code doesn't do anything clever, but at least there's no regressions ;-)
by sweh
Tue Mar 13, 2018 9:15 pm
Forum: development tools
Topic: BeebAsm
Replies: 73
Views: 4677

Re: BeebAsm

SteveF wrote:[*]sweh/Charles - what exactly would you like your credit to look like? "Your Full Name <e-mail address from commit log>"?

"Stephen Harris <sweh@spuddy.org>" is fine.

Thanks
by sweh
Sun Feb 18, 2018 5:46 pm
Forum: development tools
Topic: Couple of BeebASM usage questions.
Replies: 10
Views: 536

Re: Couple of BeebASM usage questions.

jgharston wrote:That's why we need ifdef/ifndef so we can do things like:
ifndef ISROM
ISROM=0 ; Default to not building a ROM
endif


I believe this can be done with the proposed

Code: Select all

ISROM =? 0

syntax
by sweh
Sun Feb 11, 2018 8:47 pm
Forum: hardware
Topic: Screen shadow memory
Replies: 18
Views: 789

Re: Screen shadow memory

The Solidisk 2M128 board had SWRam banks 4,5,6,7,C,D,E,F. In shadow mode it took 24K from banks E and F (The bottom 8K in bank E was still available and could store an 8K ROM image). The "shadow" RAM actually ran from &2000->&8000. I guess it was easier than 20K :-) Banks C and D c...
by sweh
Sun Feb 11, 2018 4:53 pm
Forum: wanted
Topic: BBC Master manuals
Replies: 3
Views: 308

Re: BBC Master manuals

Do you want paper, or are PDFs acceptable?
by sweh
Sun Feb 11, 2018 3:22 pm
Forum: programming
Topic: Sideways ROMs, Ctrl-Break and running from SWRAM
Replies: 4
Views: 405

Re: Sideways ROMs, Ctrl-Break and running from SWRAM

You might be able to fake it out with

Code: Select all

?&FE4E=127:CALL !-4
by sweh
Sat Feb 10, 2018 5:14 pm
Forum: hardware
Topic: Screen shadow memory
Replies: 18
Views: 789

Re: Screen shadow memory

The Solidisk 2M128 tries to emulate shadow RAM. It does this by leaving the video memory untouched and pages an alternate bank over. So every time you write a character to the screen (eg a VDU call) it has to set the "write" bank to the original memory, call the original function, then sw...
by sweh
Sat Feb 10, 2018 2:28 pm
Forum: hardware
Topic: Screen shadow memory
Replies: 18
Views: 789

Re: Screen shadow memory

The Solidisk 2M128 tries to emulate shadow RAM. It does this by leaving the video memory untouched and pages an alternate bank over. So every time you write a character to the screen (eg a VDU call) it has to set the "write" bank to the original memory, call the original function, then swi...
by sweh
Fri Jan 26, 2018 3:09 am
Forum: off-topic
Topic: 40
Replies: 37
Views: 1857

Re: 40

I'd certainly be much more interested in something more closely resembling original hardware. There's a lot of good emulators; for me they fail to meet the "itch". A "new beeb" must _feel_ like a Beeb. So that's size, weight, heft... and most importantly keyboard. Otherwise it's...
by sweh
Fri Jan 26, 2018 2:16 am
Forum: off-topic
Topic: online rpg
Replies: 4
Views: 591

Re: online rpg

I keep wondering if I should put my old copy of AberMud 5.21 online... but then I remember it was written so long ago that it probably has a gazillion modern security holes in it and any server running it would be compromised in hours! Even putting it in a container (to protect the OS) might still e...