Search found 24 matches
- Fri Mar 21, 2025 2:37 am
- Forum: Programming
- Topic: fopen() with append
- Replies: 1
- Views: 1767
fopen() with append
Just a quick question. I know fseek(...) isn't implemented, so does that mean fopen("file.dat", "ab") doesn't work either?
- Thu Dec 26, 2024 7:15 pm
- Forum: Programming
- Topic: Determine if an instance is running in the emulator vs on real hardware
- Replies: 3
- Views: 5135
Re: Determine if an instance is running in the emulator vs on real hardware
Thank you. I can work with this! /Russelldesertfish wrote: ↑Thu Dec 26, 2024 2:46 pm There are emulator-specific IO registers see https://github.com/X16Community/x16-emu ... -registers
the last 2 can tell you if you're on the emulator or not
- Thu Dec 26, 2024 1:33 pm
- Forum: Programming
- Topic: Determine if an instance is running in the emulator vs on real hardware
- Replies: 3
- Views: 5135
Determine if an instance is running in the emulator vs on real hardware
There is a bug in the hardware VERA in that the FX Line Helper in 4bpp mode doesn't correctly draw lines in octants where "sometimes horizontally increment" applies. Based on the discussion in the CX16 Video Discord https://discord.com/channels/547559626024157184/549247967945687071/1317257...
- Sun Dec 08, 2024 12:15 pm
- Forum: Works In-Progress Discussion
- Topic: Request to try out joystick interfacing program
- Replies: 3
- Views: 6548
Re: Request to try out joystick interfacing program
Thank you very much for testing. I was confused by how CC65 labels the joysticks vs how CX16 labels them. It was only when I read a similar thread in one of the forums here that I figured out that CC65 JOY_1 refers to the keyboard emulator. I'm waiting now for a fix to the VERA FX Line Helper in 4 b...
- Wed Dec 04, 2024 12:24 am
- Forum: Works In-Progress Discussion
- Topic: Request to try out joystick interfacing program
- Replies: 3
- Views: 6548
Request to try out joystick interfacing program
I previously requested users to test a demo in progress using actual hardware, and there were issues with rendering and the joystick. The rendering issue was traced to a problem in VERA, so that leaves the joystick. After some research, I think the issue was that I was using JOY_1 as the joystick to...
- Sun Dec 01, 2024 9:57 pm
- Forum: Works In-Progress Discussion
- Topic: Request to try out demo in progress on real hardware
- Replies: 9
- Views: 9675
Re: Request to try out demo in progress on real hardware
In my Google Drive is a program SAMPLE.PRG which draws lines at 4 bpp using VERA FX https://drive.google.com/drive/folders/1unw3MgF0ji-n1Vk2guOfw-t5dZ-2rEtD?usp=sharing. Attached are outputs from an emulator r48 (the PNG), and actual hardware (the JPG). The emulator is correct, while it was confirme...
- Fri Nov 29, 2024 9:46 pm
- Forum: Works In-Progress Discussion
- Topic: Request to try out demo in progress on real hardware
- Replies: 9
- Views: 9675
Re: Request to try out demo in progress on real hardware
MooingLemur and others in the CX16 #general and #video discords confirmed that there is an issue in the way VERA handles certain kinds of lines at 4 bpp. Thanks everyone for your help here! I now have to work on the joystick issue... /Russell
- Wed Nov 27, 2024 9:27 pm
- Forum: Works In-Progress Discussion
- Topic: Request to try out demo in progress on real hardware
- Replies: 9
- Views: 9675
Re: Request to try out demo in progress on real hardware
Thank you for the advice. I have reached out there. /Russell
- Tue Nov 26, 2024 9:11 pm
- Forum: Works In-Progress Discussion
- Topic: Request to try out demo in progress on real hardware
- Replies: 9
- Views: 9675
Re: Request to try out demo in progress on real hardware
Based on the screen shot "the_seb" sent to me, I have a suspicion that differences in the VERA multiplier might be the cause of the messed up rendering. I've attached a version EXPLORE2.PRG which uses straight C multiplication. The EXPLORE.DAT file is the same. It can't be attached, but it...
- Tue Nov 26, 2024 4:10 am
- Forum: Works In-Progress Discussion
- Topic: Request to try out demo in progress on real hardware
- Replies: 9
- Views: 9675
Re: Request to try out demo in progress on real hardware
"the_seb" confirmed his hardware is up-to-date w.r.t. versions, so it's likely a difference between the emulator and hardware. I will try to create some minimal code samples to demonstrate the problem. /Russell