Search found 368 matches
- Sat Mar 29, 2025 8:21 am
- Forum: CX16 Hardware Support
- Topic: No Picture/video, no Audio, lights on
- Replies: 5
- Views: 900
Re: No Picture/video, no Audio, lights on
Just to explain my suggestions a bit further. JP1 is a pair of jumper pins on the VERA board. They are only used while programming the firmware of the VERA. If a jumper is installed at JP1, VERA will not be able to initialize, and you get no video. There's a label on the PCB near JP1, so it's easy t...
- Sat Feb 01, 2025 6:36 am
- Forum: CX16 General Chat
- Topic: X16 Upgrade
- Replies: 9
- Views: 11895
Re: X16 Upgrade
You build the package file on a modern PC running Linux, MacOS or Windows. You must have python installed. You must also have the python intelhex and certifi libraries installed. Install them with: - pip install intelhex - pip install certifi You can ignore the ”make latest” command. I recommend tha...
- Sat Feb 01, 2025 5:20 am
- Forum: CX16 General Chat
- Topic: X16 Upgrade
- Replies: 9
- Views: 11895
Re: X16 Upgrade
The package is built on a modern computer, not the X16.
”make latest” requires that you have the Makefile utility installed. It was designed for Unix-like systems, but I think it’s available on Windows as well.
If you use the gui program I mentioned in my previous post, you can ignore ”make latest”.
”make latest” requires that you have the Makefile utility installed. It was designed for Unix-like systems, but I think it’s available on Windows as well.
If you use the gui program I mentioned in my previous post, you can ignore ”make latest”.
- Fri Jan 31, 2025 5:56 pm
- Forum: CX16 General Chat
- Topic: X16 Upgrade
- Replies: 9
- Views: 11895
Re: X16 Upgrade
The X16 Upgrade program lives here to explore and download for anyone interested: https://github.com/stefan-b-jakobsson/x16-upgrade As already pointed out, it’s still in development. That said, I’ve run it a lot without problems. Also, I currently do not distribute upgrade packages due to unresolved...
- Fri Jan 10, 2025 6:42 pm
- Forum: Programming
- Topic: KERNAL CRC call (not sure if right)
- Replies: 23
- Views: 15706
Re: KERNAL CRC call (not sure if right)
I agree that we need to consider it a bug, even though fixing it could in theory break some existing program.
- Fri Jan 10, 2025 5:54 am
- Forum: Programming
- Topic: KERNAL CRC call (not sure if right)
- Replies: 23
- Views: 15706
Re: KERNAL CRC call (not sure if right)
I just checked the Kernal source code. There're two loops that reads the input, one if the byte count is less than 256 bytes, and one if its 256 bytes ore more. As far as I can tell, the loop that handles a byte count below 256, reads the input backwards. And sure enough, if you give it the input in...
- Fri Jan 10, 2025 5:43 am
- Forum: Programming
- Topic: KERNAL CRC call (not sure if right)
- Replies: 23
- Views: 15706
Re: KERNAL CRC call (not sure if right)
I got the same result (0x6122) when calling the Kernal CRC function. I also tried to write my own small assembly routine, but the outcome was the same.
Eirik has been able to use the Kernal function successfully in the SMC tools he made.
It needs some further checking.
Eirik has been able to use the Kernal function successfully in the SMC tools he made.
It needs some further checking.
- Thu Jan 09, 2025 8:47 pm
- Forum: Programming
- Topic: KERNAL CRC call (not sure if right)
- Replies: 23
- Views: 15706
Re: KERNAL CRC call (not sure if right)
POKE 5,4 => lenght is $0400, isn’t it?
- Thu Jan 09, 2025 7:23 pm
- Forum: Programming
- Topic: KERNAL CRC call (not sure if right)
- Replies: 23
- Views: 15706
Re: KERNAL CRC call (not sure if right)
I created a simple CRC calculating function used in the X16 Upgrade program. Its output matches the Kernal's: def crc16(crc, data): p = 0x1021 crc ^= (data << 8) for i in range(8): if crc & 0x8000: crc = (crc << 1) ^ p else: crc = crc << 1 return (crc & 0xffff) This functions takes the curre...
- Sat Dec 21, 2024 11:08 am
- Forum: X16 Software Support
- Topic: I can't figure out whats wrong with my code. :(
- Replies: 3
- Views: 6165
Re: I can't figure out whats wrong with my code. :(
The ld65 error gives away that you're using the ca65 assembler from the cc65 project. That ld65 (linker) error suggests that you are not using a proper command when assembling. I recommend that you use this command: cl65 -o HELLO.PRG -t cx16 -C cx16-asm.cfg -u __EXEHDR__ hello.asm , where -o is the ...