Search found 2104 matches

by sweh
Wed Jan 08, 2020 11:29 pm
Forum: hardware
Topic: ADVAL values - normal or not?
Replies: 7
Views: 238

Re: ADVAL values - normal or not?

FWIW, on my model B with nothing plugged into that port, all 4 channels reported numbers around 50,000->53,000. The analog joystick is pretty much just a voltage divider between VREF and GND, so with nothing plugged in... yeah it'll float, so I'm not surprised the values are random. Pushing the limi...
by sweh
Fri Jan 03, 2020 3:12 pm
Forum: off-topic
Topic: Modern Assembly and Compilers
Replies: 31
Views: 414

Re: FPGA's and Hardware description languages for laymen

This is way OT now but x86 certainely does not behave as if instructions are executed sequentially Indeed; branch prediction, speculative execution, out of order execution, pipelining, hyperthreading have all been the cause of the recent CPU level attacks (eg Spectre, Meltdown) _because_ the instru...
by sweh
Fri Jan 03, 2020 2:31 pm
Forum: hardware
Topic: Adding .ssd files to Turbo MMC SD card?
Replies: 2
Views: 184

Re: Adding .ssd files to Turbo MMC SD card?

What platform are you using? Windows? Mac? Linux? Something else? (Not arduino :-)). On Windows the CD you would have got with the MMC adapter has software that lets you managed MMB images (See DFSImager and MMBImager). On Linux/Mac you can use my perl software to manipulate SSD and MMB images: http...
by sweh
Sun Dec 15, 2019 10:27 pm
Forum: hardware
Topic: Strange output from 32k RAM in ROM BANK
Replies: 10
Views: 548

Re: Strange output from 32k RAM in ROM BANK

Yeah, that demonstrates your *RLOAD command is mangling the 2A1 table as you load, and that explains why the "*ROMS" command showed the multiple ROMs. It reads from the specified bank, but because of how the Beeb address decoding is done, it sees the same information in multiple banks, and so the sa...
by sweh
Sun Dec 08, 2019 8:01 pm
Forum: hardware
Topic: Elite in ROM??
Replies: 12
Views: 777

Re: Elite in ROM??

Hi sweh, Thanks a lot for this. Of course in order for this to work, I first need the 2M128 Solidisk board and (?) a solidisk ROM, or your modified version of it. The key is the Solidisk DDFS. In theory the Ramdisk version could be ported to other RAM boards, but it's the DDFS that calls out to the...
by sweh
Thu Dec 05, 2019 1:18 am
Forum: hardware
Topic: Strange output from 32k RAM in ROM BANK
Replies: 10
Views: 548

Re: Strange output from 32k RAM in ROM BANK

Now as a test, I just *SRLOAD'd a ROM into RAM banks 4, 5, 6 on my Beeb. Then pressed BREAK. The TOOLKIT PLUS "*ROMS" command (which I think is the one being used here, since that's what shows in the original screenshot) only showed the ROM in slot 6. But if I mangle the table at &2A1 then the comm...
by sweh
Thu Dec 05, 2019 12:36 am
Forum: hardware
Topic: Elite in ROM??
Replies: 12
Views: 777

Re: Elite in ROM??

Maybe this is a stupid question, but would it be possible to load Elite in a EEPROM so it could be loaded faster then with the 5.25" floppy? Or maybe move the entire game disc into RAM? Back in the day I had a wrapper around ELITE that would load it into a RAMDISK, using my manager ROM and the STL ...
by sweh
Thu Dec 05, 2019 12:26 am
Forum: hardware
Topic: Strange output from 32k RAM in ROM BANK
Replies: 10
Views: 548

Re: Strange output from 32k RAM in ROM BANK

No no no no no. It's not an artifact of *RLOAD or the MOS. It's an artifact of the hardware and the specific *ROMS command that you have used. It _could_ be the *RLOAD command if that does &2A1?slot=?&8006 or similar after loading the image, and before pressing BREAK. I don't know what RLOAD comman...
by sweh
Fri Nov 29, 2019 8:20 pm
Forum: hardware
Topic: ROM strangeness.
Replies: 14
Views: 611

Re: ROM strangeness.

FWIW, it works on my model B (when loaded into SWRam, slot F if it makes any difference) I press f0 and get a display of control-f-key options. Control-f1 to get into setup. Set speed to 9600/9600 and return back to the emulator, then after a few RETURNS I get the login prompt from my Linux serial p...
by sweh
Sat Nov 16, 2019 2:28 am
Forum: software & utilities for the pc, mac or unix
Topic: Proposal for BBC BASIC 'FOR lists'
Replies: 27
Views: 1063

Re: Proposal for BBC BASIC 'FOR lists'

I think in many languages in which this appears you could say that this is syntactic sugar in that it does not enable you to do anything that you could not do previously, it just makes is easier to express certain constructs. Indeed, but if such "syntactic sugar" wasn't appropriate for BBC BASIC we...
by sweh
Sun Nov 10, 2019 2:38 am
Forum: software & utilities for the pc, mac or unix
Topic: Proposal for BBC BASIC 'FOR lists'
Replies: 27
Views: 1063

Re: Proposal for BBC BASIC 'FOR lists'

FOR I% OF 3, 22, -9 My initial preference would be to use "IN" instead of "OF". Because we're talking about selecting elements IN a set and it matches the math :-) Or maybe "FROM". "IN" shows we iterating amonst the elements a set. "FROM" to show we're selecting elements from a set. In my mind "IN"...
by sweh
Sat Nov 02, 2019 10:44 pm
Forum: software: other
Topic: Saving with wildcards
Replies: 1
Views: 280

Re: Saving with wildcards

As a data point, DFS1.20 (from the DNFS ROM) also saves as "P*". Unix globbing is a little more complicated; in V6 it was an external program; then it became a shell builtin. And now it's commonly also available as a C library call glob(3). But, yes, it's userspace code. The downside of that is that...
by sweh
Fri Nov 01, 2019 1:09 pm
Forum: hardware
Topic: RS232 to USB
Replies: 7
Views: 516

Re: RS232 to USB

It's hard to tell from the pictures, but it wouldn't surprise me if this was "just" a USB-serial chip (FTDI, Prolific, or similar) with a Beeb domino cable at the end. So it's just a serial cable. You could make a simple domino->DB9 cable and plug that into a stardard USB-serial adapter and get the ...
by sweh
Tue Oct 29, 2019 5:06 pm
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

One side effect of all this is that HostFS/TCP now needs as single page of workspace memory so PAGE is at F00 on the Model B - is this likely a deal breaker. If it is I could look at a Mk.3 board with some on-board RAM but that's going to start getting expensive....Or I could ditch the API altogeth...
by sweh
Sat Oct 26, 2019 4:19 pm
Forum: hardware
Topic: Loading a ROM into SW Ram - basics
Replies: 39
Views: 1103

Re: Loading a ROM into SW Ram - basics

You might want to consider John Welch's DFS Explorer which runs on the MAC: https://www.g7jjf.com/mac_dfs_explorer.htm For SSD management, my MMB Utils should also work on a Mac, since it's just perl: https://sweh.spuddy.org/Beeb/mmb_utils.html Then you can add files from the command line; eg "beeb...
by sweh
Sat Oct 26, 2019 4:14 pm
Forum: hardware
Topic: What to try re-engineering next.....
Replies: 44
Views: 4598

Re: What to try re-engineering next.....

That's what happens when emulated too. It looks like it's performing a checksum on itself and jumping to &8000 if it fails. There's a serial number at the end of the ROM, maybe it was hand changed before being shared causing the hang. I guess I need to dump the copy at http://www.computinghistory.o...
by sweh
Sat Oct 26, 2019 3:57 pm
Forum: hardware
Topic: What to try re-engineering next.....
Replies: 44
Views: 4598

Re: What to try re-engineering next.....

It's just a plain bulk floppy disk (no manuf labels) with a small handwritten "VOL1 80T 2M128" label on it. Ok, no need for photo then. I now have the board fully emulated, but need another clarification. If the shadow mode is enabled, using 24K from banks C/D, is it still possible to load a ROM im...
by sweh
Mon Oct 21, 2019 4:54 pm
Forum: hardware
Topic: Screen shadow memory
Replies: 35
Views: 2291

Re: Screen shadow memory

Sounds reasonable. I can't find my original manual so can't look it up. Perhaps I am confusing it with the shadow facility on the Solidisk 2/4Meg boards which do overlap the sideways ROM area and the Watford one doesn't. The 2M128 doesn't overlap SWR; it maps 24K of the two banks (E and F) from &20...
by sweh
Wed Oct 16, 2019 9:55 pm
Forum: hardware
Topic: What to try re-engineering next.....
Replies: 44
Views: 4598

Re: What to try re-engineering next.....

Pernod wrote:
Wed Oct 16, 2019 11:00 am
Thanks for checking the disk, shame it's bad, can you post a photo for reference?
It's just a plain bulk floppy disk (no manuf labels) with a small handwritten "VOL1 80T 2M128" label on it.
by sweh
Wed Oct 16, 2019 2:49 am
Forum: hardware
Topic: What to try re-engineering next.....
Replies: 44
Views: 4598

Re: What to try re-engineering next.....

I have a 2M128 from BITD and I like the board; 128K of RAM and 4 additional ROM slots. The 128K RAM can be used as 8 SWR banks (4->7,C->F) or as 4 SWR (4->7) and shadow RAM and a print buffer, or as a RAMDISK (with the STL DFS/ADFS ROMs) and so on. I thought the original ROM to be a little limited ...
by sweh
Fri Oct 11, 2019 4:06 pm
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

Ah, I see, that does make sense now, though I'd maybe hide the "_" at the client end as it's a server detail? I thought about that, but I was being lazy. And then I thought "consistency" 'cos if I do "mkdir _foobar" on the Linux machine I can "*HCF _foobar" on the Beeb. But mostly laziness :-) I mi...
by sweh
Fri Oct 11, 2019 1:36 pm
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

Why must folders start with "_"? I needed a way of distinguishing between a directory used for *DIN purposes and a directory used for folder purposes. I didn't want people to *DIN a folder, or *HCF to a disk :-) I originally was going to use something like "NAME.FOLDER" but then thought it might be...
by sweh
Fri Oct 11, 2019 1:04 am
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

I think *CHDIR should be *DCD or *DCHDIR to disambiguate with other directory changing but it is something I keep meaning to graft in. I "only" have 30 or so disks but it is still sometimes difficult to find them. I decided on *H based commands since they impact the Host, and so match *HSTATUS. You...
by sweh
Thu Oct 10, 2019 1:49 pm
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

I need to think about security as well, there needs to be some sort optional of user/password mechanism if these sites are to be hosted online! So far I've only been interested in the file transfer possibilities but I need to have a think about BBS/telnet style operations too...maybe later! Once th...
by sweh
Thu Oct 10, 2019 12:47 am
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

I definitely might want to buy some of these boards when you've got everything working!

This'd be a great way of transferring files between machines; Beeb1 can write to a *DIN'd disk, Beeb2 will see the new files immediately!
by sweh
Wed Oct 09, 2019 11:45 pm
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

I've sent you a pull request (at least I think I have - I hate Git) which contains my base-line 6502 code. There's not many changes but it does contain stuff for Phil's (myelin) 1MHz bus serial/sdcard which is another serial port - what I mostly use. Thanks. I made some small cleanups and updated t...
by sweh
Wed Oct 09, 2019 1:34 pm
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

Of all my transfer/storage methods this is about the fastest and I've not fully optimised yet, ADFS to hard disc might be close I need to benchmark. I've never tried proper UPURSFS so I'm not sure what sort of speeds that can achieve. When Dave was doing some optimisations, I did some testing; basi...
by sweh
Wed Oct 09, 2019 1:41 am
Forum: hardware
Topic: HostFS+TCPIP
Replies: 68
Views: 2322

Re: HostFS+TCPIP

That looks really cool.

What changes to my host software did you have to make? I guess the socket filehandle, but you also mentioned a 'block mode'.

I'd be interested in seeing the diffs! Maybe we can merge it into the mainstream as another alternate flag ("-T <portno>" perhaps).
by sweh
Sat Oct 05, 2019 12:48 pm
Forum: emulators
Topic: Request for testers for quick but fascinating test case
Replies: 36
Views: 1781

Re: Request for testers for quick but fascinating test case

scarybeasts wrote:
Fri Oct 04, 2019 3:24 pm
sweh wrote:
Thu Oct 03, 2019 10:24 pm
FWIW on my Issue 4 Beeb, I also get 1/1
Thanks! If you happened to know what type of 6522 VIAs it has, that's also useful information!
They are both R6522-31
by sweh
Thu Oct 03, 2019 10:24 pm
Forum: emulators
Topic: Request for testers for quick but fascinating test case
Replies: 36
Views: 1781

Re: Request for testers for quick but fascinating test case

FWIW on my Issue 4 Beeb, I also get 1/1