Search found 69 matches

by thegg
Wed Feb 22, 2023 7:28 am
Forum: Emulation and Cross Development
Topic: Reverse Engineering of JETPAC for VIC-20
Replies: 12
Views: 2964

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. I s...
by thegg
Sun Feb 05, 2023 8:59 am
Forum: Emulation and Cross Development
Topic: Page boundary crossed, CBM Studio
Replies: 6
Views: 3526

Re: Page boundary crossed, CBM Studio

If you should need to know about page boundary crossings, you can enable the options setting and then use the 'warning on|off' directive to enable the messages in the critical code. However, please note that all warnings are enabled/disabled by the directive.
by thegg
Sat Feb 04, 2023 6:08 pm
Forum: Emulation and Cross Development
Topic: Page boundary crossed, CBM Studio
Replies: 6
Views: 3526

Re: Page boundary crossed, CBM Studio

Report Page Boundary Crossing is an Assembler option found in Tools/Options/Assembler. Uncheck the option and the warnings will no longer appear. The warnings are just information, not errors. In the absence of any true errors, the assembly will complete.
by thegg
Sat Jan 21, 2023 5:00 am
Forum: Programming
Topic: VIC20 and CBM prg Studio
Replies: 5
Views: 648

Re: VIC20 and CBM prg Studio

CBM prg Studio can produce the BASIC stub for you. Position the cursor just before your start address and select Tools/Generate Sys() Call from the menu bar. Then enter your code start address and OK the dialogue and hey presto the stub appears at the cursor position.
by thegg
Tue Nov 22, 2022 12:32 pm
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

MartinC wrote: Tue Nov 22, 2022 11:05 am Hi Thegg,

Progress at last!
Great. I'm glad you have got there. Understanding the memory map and planning accordingly is a good way to go.

I look forward to seeing your first finished project.
by thegg
Mon Nov 21, 2022 3:47 pm
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

A couple of small points. There is not enough room between the end of your Basic stub and the start of your code for the screen and colour data. So your code will be assembled on top of the last few bytes of your screen data. You are including 65 character definitions (0-64) so the last definition i...
by thegg
Sun Nov 20, 2022 2:25 pm
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

Your code is loading the address from a memory location ie $1436, $1437,$1435,$1434 whereas my suggestion is loading the immediate low and high values of the screen map and video matrix. In actual fact I was wrong to say your code will not work. Looking closer it will, it is just less clear what is ...
by thegg
Sat Nov 19, 2022 10:07 am
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

I think your main problem is that you are not loading the zero page pointers with the addresses you think you are. Try changing your code to: Lda #<scrn Sta $fb Lda #>scrn Sta $fc Lda #<scrmap Sta $fd Lda #>scrmap Sta $fe The construct you trying does not work in CBM Prg. Alternatively, you could us...
by thegg
Tue Nov 08, 2022 11:10 am
Forum: Programming
Topic: Software sprites?
Replies: 175
Views: 118484

Re: Software sprites?

If you need some extra motivation, I (and I am sure quite a few others) would be very interested in such a library.
by thegg
Fri Nov 04, 2022 10:31 am
Forum: Games
Topic: HexaVic
Replies: 12
Views: 2872

Re: HexaVic

Thanks for the comment. I'll look out for the review.
by thegg
Sun Oct 30, 2022 8:24 am
Forum: Programming
Topic: Recursive programming (in WimBasic)
Replies: 5
Views: 1099

Re: Recursive programming (in WimBasic)

Although chysn correctly says that 'you never need recursion', I find that recursion does have a certain elegance and often provides a smaller code footprint. It can also be implemented in 6502 Assembler. Recursion on a 6502 CPU is constrained by a small system stack. As Mike outlines above, this co...
by thegg
Tue Oct 11, 2022 2:05 pm
Forum: Games
Topic: The Archivist
Replies: 23
Views: 7167

Re: The Archivist

I've never got on very well with text adventures in the past, but I thought I would give this one a try. I was getting into and enjoying the game when I hit a problem. I was on the prompt line and accidently hit backspace before starting to type my command. The backspace had moved the cursor to the ...
by thegg
Sun Sep 04, 2022 11:54 am
Forum: Games
Topic: HexaVic
Replies: 12
Views: 2872

Re: HexaVic

Neat game, fun to play. Challenging. Thanks. The keyboard controls stung me a few times. I was figuring stuff out, making progress, and then pressed S instead of E or D! During the development of the game, S was used to select a tile and the menu options were selected by using CTRL and option lette...
by thegg
Mon Aug 29, 2022 12:25 pm
Forum: Games
Topic: HexaVic
Replies: 12
Views: 2872

Re: HexaVic

Great game. Very challenging. Harder than I had first expected, even in the Easy level :) . I like its randomness very much. Just tried in my actal (PAL) VIC and works perfectly OK. Glad you are enjoying the game. When I put it together it was clear that it would be an 'occasional dip in game' rath...
by thegg
Sat Aug 27, 2022 3:32 pm
Forum: Games
Topic: HexaVic
Replies: 12
Views: 2872

Re: HexaVic

Cool game. It's nice to play something mindbending. A very pleasant diversion! :) Thank you very much. I get my pleasure from putting together programs that interest me, which I am only too happy to share. However, it is really gratifying to hear that the program has entertained someone else as well.