Search found 23 matches

by D-Type
Fri Apr 19, 2024 6:55 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 813

Re: ASM502 - a new 6502 assembler.. (WIP)

Here are some 6502 C compilers benchmarks: https://gglabs.us/node/2293 Not mentioned is Oscar64, but the author tested it himself, 3 run each, with the following results. It's on Github, maybe check it out? 1 crc8 1.2 1.2 1.2 2 crc16 1.8 1.7 1.7 3 crc32 3 3 3 4 sieve 13.1 12.7 12.8 5 sieve bit 20.3 ...
by D-Type
Wed Mar 13, 2024 6:50 am
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Re: Reverse Engineering of JETPAC for VIC-20

Ola H wrote: Thu Mar 07, 2024 7:06 pm ... and it is great to learn just how the flying routine managed to produce such a great feeling and perfect responsiveness.
Thanks for your thoughts. Yes the flying routine is complex, more than I imagined at the start!
by D-Type
Thu Mar 07, 2024 4:50 pm
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 2212

Re: Assembler

I use the Kingwood Consulting cross-assemblers, they're pretty straightforward to use, plus they have Linux and Windows versions:

https://www.kingswood-consulting.co.uk/assemblers/
by D-Type
Tue Mar 05, 2024 5:31 pm
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Re: Reverse Engineering of JETPAC for VIC-20

My reverse-engineering of JETPAC for the VIC-20 is now complete. It's been a big learning experience, about the VIC computer itself, the tools and my own motivation and ability. Check it out if you're interested, see what you think, comments appreciated. https://github.com/phillipeaton/JETPAC_VIC-20...
by D-Type
Sun Jan 28, 2024 4:30 pm
Forum: Programming
Topic: Recommendations for VIC-20 assembly tutorial, tools
Replies: 10
Views: 753

Re: Recommendations for VIC-20 assembly tutorial, tools

Once you get it assembled to a binary image, you might consider single stepping the code it in MAME Debugger, I've successfully debugged someone else's broken code this way. MAME Debugger is very robust and has good options for live viewing memory in resizeable windows and setting breakpoints, much ...
by D-Type
Mon Jun 19, 2023 10:40 am
Forum: Programming
Topic: Interrupt handling Tutorial
Replies: 6
Views: 1577

Re: Interrupt handling Tutorial

Post deleted
by D-Type
Wed Jun 07, 2023 9:04 am
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Re: Reverse Engineering of JETPAC for VIC-20

I'm still plugging away on this whenever I get a spare minute in the evenings, the end is in sight! Someone asked me for an intro of how I'm doing the reverse engineering, so I made a little video show 'n' tell. Any hints and tips to improve my efficiency, much appreciated! https://youtu.be/exYrwbS1...
by D-Type
Thu Feb 23, 2023 9:50 am
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Re: Reverse Engineering of JETPAC for VIC-20

...p.s. looking forward to you using it to implement Sabre-Wolf on the 35k Vic :D Sabre Wulf didn't really cross my mind, but I just looked on YouTube and the usage of sprites is very similar to JETPAC. A conversion would certainly be doable, though the 16x8 pixel colour tiles used in VIC JETPAC wo...
by D-Type
Wed Feb 22, 2023 3:13 pm
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Re: Reverse Engineering of JETPAC for VIC-20

I would recommend 6502bench SourceGen as a disassembler. You can work with it interactively to help with the distinction between code and data. It provides automatic labelling of subroutine calls, jumps and branches. It also allows you to add comments and notes which I found particularly useful. Th...
by D-Type
Tue Feb 21, 2023 4:09 pm
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Re: Reverse Engineering of JETPAC for VIC-20

Hi! [...] JETPAC for VIC. I was always intrigued how the sprites worked, so 40 years later I thought I'd find out. If you follow through that, let me tell you: you quite possibly find only one particular implementation of smooth moving objects on the VIC-20. One that has been tailored to the needs ...
by D-Type
Tue Feb 21, 2023 5:28 am
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 1450

Reverse Engineering of JETPAC for VIC-20

In case anyone's interested, I'm in the process of reverse engineering Ultimate's JETPAC for VIC. I was always intrigued how the sprites worked, so 40 years later I thought I'd find out. I reckon I'm past the point of no return now, perhaps 50% of the way, so I have to finish it. I've spent about 9 ...
by D-Type
Tue Feb 21, 2023 5:03 am
Forum: Emulation and Cross Development
Topic: VIC 20 Emulators list
Replies: 17
Views: 35061

Re: VIC 20 Emulators list

List should probably mention MAME instead of MESS, which was absorbed into MAME years ago. VICE is probably the goto emulator for most use cases, but for reverse engineering, as of Feb 2023, the MAME debugger is much better than the one in VICE.
by D-Type
Fri Dec 23, 2022 8:37 am
Forum: Emulation and Cross Development
Topic: Test Scripts in VICE?
Replies: 15
Views: 4028

Re: Test Scripts in VICE?

Well, my Vectrex Forth runs from a cartridge and uses a few hundred bytes of RAM, but you're already using block 5, so I guess you'd have to shoe-horn it into block 0, replace the BASIC ROM or do some other shuffling around. You could make a basic usable Forth in perhaps 2 or 3K. If you've already f...
by D-Type
Wed Dec 14, 2022 3:20 am
Forum: Emulation and Cross Development
Topic: Test Scripts in VICE?
Replies: 15
Views: 4028

Re: Test Scripts in VICE?

Have you considered running Forth on the emulated VIC? Then you can put in as many test scripts as you like and call the assembly programs with them. This is how I develop on the 6809 Vectrex, except I'm using physical hardware and a Windows-based terminal emulator connected via a USB serial port, i...
by D-Type
Tue May 17, 2022 3:43 pm
Forum: Emulation and Cross Development
Topic: Using MAME to emulate the VIC
Replies: 14
Views: 3573

Re: Using MAME to emulate the VIC

I get by with it, but it does have many annoyances. - it doesn't remember what windows you have open / position and resets each debugging session. - when it breaks, the breakpoint is at the very top of the window so you can't see the preceding instructions for context without scrolling - no scroll-...