sjgray / cbm-edit-rom Goto Github PK
View Code? Open in Web Editor NEWCreate standard or custom PET/CBM Editor ROMs
Create standard or custom PET/CBM Editor ROMs
In my case it tries to load the file "9648" ...
When using the keyboard shortcut to switch between Graphics character more and upper/lower text mode, only the character set is changed.
What is not changed is the CRTC value for the actual height of the character.
As far as I can see the ROM checksum of the custom generated ROMs is wrong.
Commodore checksum is to add each byte, including carry into a single byte value one by one. The result then should give the value of the high byte of the start address. So, the editor ROM should have a checksum of #$e0
I noticed this when I ran the "8296 burnin" program on a system with a custom editor ROM from here.
To fix this, I have written a small program to calculate and fix the ROM checksum. See "romcheck.c" here https://github.com/fachat/cbm-burnin-tests
Sorry for the hassle, this is probably just a stupid user error but I just bought and repaired a dead 8296 with QWERTZ keyboard (50Hz power) and was in process of patching it to use QWERTY keyboard.
I edited edit.asm to use codebase 2, din keyboard, PAL refresh, 80 columns, 50Hz line freq and no external features.
When running the project on my Linux machine (don't have windows so I have to use wine) I get the error:
$ wine acme -r editrom.txt editrom.asm
Error - File editrom82.asm, line 1393 (Zone ): Cannot open input file.
Checking while file that is reveals:
$ cat -n editrom82.asm | grep 1393
1393 !SOURCE "crtc-8296D-80-50hz-old.asm"
The repo doesn't seem to contain this crtc-8296D-80-50hz-old.asm ... or am I just doing something stupid (=the most probable reason) ?
I was entering a long line of direct BASIC input (i.e. across two screen lines) and the line was not executed, but gave a SYNTAX ERROR.
ROM definition is from https://github.com/fachat/MicroPET/blob/main/ROM/edit40gx.asm
LIne entered was:
FORI=0TO255:POKE32768+I,I:POKE32768+2048+I,I:NEXT
The same line on an original BASIC4 editor worked. A shorter line (<40cols) worked on the custom editor ROM also.
My assumption is that the linked line handling somehow got broken.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.