Search found 155 matches
- Wed Jan 29, 2025 7:45 pm
- Forum: X16 Feature Requests
- Topic: VERA ports
- Replies: 6
- Views: 8170
Re: VERA ports
Compression routines often require offsetting from data already decompressed, which requires reading back from the current "pointer" Oh, and be careful with this, the value in DATA0/1 is set on an address change, not on a read. So if you set DATA0 to point to 0x00000, then change it using...
- Wed Jan 29, 2025 7:44 pm
- Forum: X16 Feature Requests
- Topic: VERA ports
- Replies: 6
- Views: 8170
Re: VERA ports
lda #1 sta VERA_ADDRH0 sta VERA_ADDRH1 lda #$FA sta VERA_ADDRM0 sta VERA_ADDRM1 lda #$00 sta VERA_ADDRL0 sta VERA_ADDRL1 I doubt there would be such a change at this point. Maybe VERA2? Anyway in the timebeing you can do this which isn't too many more cycles that the 'ideal' solution above. lda #1 ...
- Fri Jan 17, 2025 9:33 am
- Forum: WIP Demos
- Topic: Action-RPG
- Replies: 2
- Views: 4485
Re: Action-RPG
Looks great! Love the water!
- Tue Dec 03, 2024 12:36 pm
- Forum: Libraries and Examples
- Topic: Timing how long something takes
- Replies: 13
- Views: 14173
Re: Timing how long something takes
I think you'd be able to have a 17bit counter by checking the interrupt state of the VIA at the end.I wonder if you could also extend the VIA timer by using VIA #2?
But I don't think there is a way to increase the resolution above that without any CPU management.
- Sun Dec 01, 2024 3:36 pm
- Forum: Libraries and Examples
- Topic: Timing how long something takes
- Replies: 13
- Views: 14173
Timing how long something takes
Sometimes you want to know how long something takes to complete. While emulators generally do a good job of timing methods, they're not always accurate so there are times where you just have to check on the hardware. If the function takes less than ~65k cycles you can use the VIA1 timer to time your...
- Thu Oct 31, 2024 11:46 am
- Forum: Demoscene
- Topic: Happy Halloween. Skeleton Dance.
- Replies: 7
- Views: 9148
Re: Happy Halloween. Skeleton Dance.
Good fun, love it!
- Sun Oct 20, 2024 1:14 pm
- Forum: Libraries and Examples
- Topic: Getting the Current Directory
- Replies: 1
- Views: 6208
Getting the Current Directory
I needed to get the current directory, but found the command `$=C` difficult to use as it returns the data as displayed in the BASIC prompt. So to make this more 'machine readable' I've written the code below which will return a pointer to a string in $yyxx which is null terminated in the form that ...
- Sun Sep 01, 2024 11:45 am
- Forum: Misc Apps
- Topic: Dataport Tester
- Replies: 1
- Views: 4603
- Wed Aug 28, 2024 7:39 pm
- Forum: Misc Apps
- Topic: Dataport Tester
- Replies: 1
- Views: 4603
Dataport Tester
I made a quick app to test how the memory addresses which have side effects (eg DATA0 with the stepping) react to different opcodes on a machine vs a real 65c02. The main purpose was to test my own emulator and development suite -- BitMagic -- to see how far it is from real hardware. As such it migh...
- Mon Aug 12, 2024 1:08 pm
- Forum: Works In-Progress Discussion
- Topic: DreamTracker Dev Log
- Replies: 68
- Views: 81563
Re: DreamTracker Dev Log
I don't know enough to comment on the composing side, but it looks and sounds awesome!