Loading a ROM into SW Ram - basics
Re: Loading a ROM into SW Ram - basics
Here is the version that has just the ROM (removed from .SSD then added by myself via beeb).
I'm away from beeb so can't run it to give checksum. If you can see what the difference is with the files and if it's a beebem issue.
Thanks
R
I'm away from beeb so can't run it to give checksum. If you can see what the difference is with the files and if it's a beebem issue.
Thanks
R
- Attachments
-
- SWRUtilTEST.ssd
- (200 KiB) Downloaded 27 times
Re: Loading a ROM into SW Ram - basics
That BASICED 'rom image' isn't a rom image - it looks like its the source code or something, possibly from github or somewhere? I can't tell how you've arrived at the file but it's just wrong! Have you selected the wrong file to download perhaps?
For example here's the first few bytes.....
For example here's the first few bytes.....
Code: Select all
<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <link rel="dns-prefetch"
href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com">
<link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
<link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
<link crossorigin="anonymous" media="all" integrity="sha512-TD/1gdStKo77Iu1A+WNb+2YoRJv7l1hZVO0/0h+eJ5wyGxiTvIbLRko1dQ1jEa9w5BK3poi18st9OPel71zK8A==" rel="stylesheet"
href="https://github.githubassets.com/assets/frameworks-94d2de65a56b07e193e50e91873678b6.css" />
<link crossorigin="anonymous" media="all" integrity="sha512-
Re: Loading a ROM into SW Ram - basics
I guess you are after these ROMs https://github.com/tom-seddon/basic_edi ... eases/1.44. Instructions https://github.com/tom-seddon/basic_edi ... ocs/doc.md
Richard B
Acorn Electrons issue 4 and 6, MRB, Plus 1, AP6, AP5, Pegasus 400, BeebSCSI, Gotek, Raspberry Pi, GoSDC MBE.
BBC B+ 64K (128K upgraded) with Duel OS, Raspberry Pi and Gotek.
Acorn Electrons issue 4 and 6, MRB, Plus 1, AP6, AP5, Pegasus 400, BeebSCSI, Gotek, Raspberry Pi, GoSDC MBE.
BBC B+ 64K (128K upgraded) with Duel OS, Raspberry Pi and Gotek.
-
- Posts: 443
- Joined: Tue Aug 30, 2005 12:42 am
- Contact:
Re: Loading a ROM into SW Ram - basics
If you right click in the .rom file on the GitHub web site and do Save As, this is probably what you'll get. When you click on a file in the GitHub tree, you don't get the actual file itself, but rather an HTML page with a bunch of stuff. This makes perfect sense for the 99% of the times you're using GitHub to navigate the tree and look at text files, but it's not so much use if you're trying to download a specific binary file out of the repo...MartinB wrote: ↑Mon Oct 28, 2019 6:14 pmThat BASICED 'rom image' isn't a rom image - it looks like its the source code or something, possibly from github or somewhere? I can't tell how you've arrived at the file but it's just wrong! Have you selected the wrong file to download perhaps?
For example here's the first few bytes.....
Code: Select all
<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> <link crossorigin="anonymous" media="all" integrity="sha512-TD/1gdStKo77Iu1A+WNb+2YoRJv7l1hZVO0/0h+eJ5wyGxiTvIbLRko1dQ1jEa9w5BK3poi18st9OPel71zK8A==" rel="stylesheet" href="https://github.githubassets.com/assets/frameworks-94d2de65a56b07e193e50e91873678b6.css" /> <link crossorigin="anonymous" media="all" integrity="sha512-
Thanks for investigating this! It suggests I should probably rethink the release mechanism for the BASIC editor. At the very least, put ZIPs on GitHub rather than raw files, so that there's some basic consistency checking, since they won't unzip if they aren't actual .zip files.
--Tom
Re: Loading a ROM into SW Ram - basics
It's perfectly fine uploading binary files to GitHub. GitHub has 'Download as raw file' which will download the single raw file, and 'Download as ZIP' which will download all the files in the project as a ZIP file. But, as the above poster has discovered, you have to SELECT the link, not SaveAs the link, otherwise you save the content of the link, not the file.
Code: Select all
$ bbcbasic
PDP11 BBC BASIC IV Version 0.32
(C) Copyright J.G.Harston 1989,2005-2020
>_
- 1024MAK
- Posts: 10483
- Joined: Mon Apr 18, 2011 5:46 pm
- Location: Looking forward to summer in Somerset, UK...
- Contact:
Re: Loading a ROM into SW Ram - basics
Yes, that confused me when I first tried to download from GitHub. I also often check a file using a hex and ASCII file viewer / editor on the PC to make sure I have the correct file.
Mark
Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki - for answers to many questions...
Fault finding index • Acorn BBC Model B minimal configuration • Logic Levels for 5V TTL Systems
BeebWiki - for answers to many questions...
Fault finding index • Acorn BBC Model B minimal configuration • Logic Levels for 5V TTL Systems
Re: Loading a ROM into SW Ram - basics
Thanks! Daft mistake.
Downloaded (correctly) and tried and all works exactly as it should.
All help appreciated guys!
Downloaded (correctly) and tried and all works exactly as it should.
All help appreciated guys!
Re: Loading a ROM into SW Ram - basics
Now I've got this working does anyone have Exmon II ROM available for download? Not been able to find.
Cheers
R
Cheers
R
Re: Loading a ROM into SW Ram - basics
Code: Select all
$ bbcbasic
PDP11 BBC BASIC IV Version 0.32
(C) Copyright J.G.Harston 1989,2005-2020
>_
Re: Loading a ROM into SW Ram - basics
So, I ran into the 'Illegal Address' issue again earlier today when trying to *SRSAVE a ROM to disk. This was on a beeb with DFS2.26 and SRAM 1.05. This beeb also has an APTL sideways ROM / RAM card which has 16K RAM located in bank 15. The SRAM utilities would only let me save bank 15. I got the 'Illegal Address' error if I tried to save a ROM from any other bank. Same error when trying to write to any bank other than 15 (obviously, the write would fail if trying to write to a ROM, or empty slot.
I can only conclude that SRAM 1.05 utilities checks to see if a bank is writable and if not, then it generates this error.
I can only conclude that SRAM 1.05 utilities checks to see if a bank is writable and if not, then it generates this error.