Search found 33 matches

by MartinC
Mon Feb 20, 2023 10:11 am
Forum: Programming
Topic: A sample programming session in VICMON
Replies: 32
Views: 20074

Re: A sample programming session in VICMON

Thanks Mike, just going to do the next lesson.
by MartinC
Sat Feb 18, 2023 1:28 pm
Forum: Programming
Topic: A sample programming session in VICMON
Replies: 32
Views: 20074

Re: A sample programming session in VICMON

Ohhhh... Der
by MartinC
Sat Feb 18, 2023 7:47 am
Forum: Programming
Topic: A sample programming session in VICMON
Replies: 32
Views: 20074

Re: A sample programming session in VICMON

So, I got as far as ballping Mike. Understood the code and typed it into vicmon, faithfully (I think). [...] When I ran it, the screen colour changed, the beeps started, but no ball! So I copied it off, loaded it into vice and ran it... voila it worked. Copied it from the pc back to my .d64 and it w...
by MartinC
Sat Feb 11, 2023 8:35 am
Forum: Programming
Topic: A sample programming session in VICMON
Replies: 32
Views: 20074

Re: A sample programming session in VICMON

I just did this first lesson on real hardware, thx Mike!

20230211_143348.jpg

Do or do not there is no try :mrgreen:
by MartinC
Mon Feb 06, 2023 10:05 am
Forum: Programming
Topic: VIC 20 Apollo DSKY Indicator Lights
Replies: 3
Views: 492

Re: VIC 20 Apollo DSKY Indicator Lights

but this attempt at an implementation does not honour in any way that the 65xx is an 8-bit-CPU and only can handle data 8 bits at a time. - Apart from that all good though, yeah? :lol: I have learned from your VICMON tutorial, this is a case of trying to run before you can crawl, as you can tell. T...
by MartinC
Sun Feb 05, 2023 11:08 am
Forum: Programming
Topic: VIC 20 Apollo DSKY Indicator Lights
Replies: 3
Views: 492

VIC 20 Apollo DSKY Indicator Lights

Hi all, This questions relates to an unexpanded VIC 20. My first (probably too ambitious) assembly project is to try and recreate a lunar module display and keyboard from the 1960s. I need to be able to light up several areas of the screen (2x4 characters) based on whether a memory location contains...
by MartinC
Sun Jan 29, 2023 11:03 am
Forum: Programming
Topic: Newbie advice - clean assembly code termination
Replies: 4
Views: 565

Re: Newbie advice - clean assembly code termination

Thanks for the tips. I will be doing i/o on the user port eventually, so all relevant. :D
by MartinC
Sat Jan 28, 2023 7:46 am
Forum: Programming
Topic: Newbie advice - clean assembly code termination
Replies: 4
Views: 565

Newbie advice - clean assembly code termination

Hi all, In my first project when I want the program to end, I reset the screen colours to standard, clear the screen and point the customer character set back to the standard ROM characters. Is there a best practice around termination and "garbage collection"? For example my instinct is to...
by MartinC
Sat Jan 28, 2023 7:10 am
Forum: Programming
Topic: VIC20 and CBM prg Studio
Replies: 5
Views: 648

Re: VIC20 and CBM prg Studio

Hey mythic,

Nice to know I'm not the only newbie out here :D - although, you're coming from the x86 asm world. Good luck with your project!

Martin
by MartinC
Tue Jan 24, 2023 12:52 pm
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

Hello, I'm starting with the DSKY...
by MartinC
Tue Nov 22, 2022 11:05 am
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

Hi Thegg, Progress at last! Screenshot 2022-11-22 165701.png Not all of the characters I needed were in the first 64, so after a bit of rearranging^^^ Need to tidy up the design of the characters, but I feel like I am moving forward now. I don't know if it's a CBM Prg Studio bug - but the colour dat...
by MartinC
Mon Nov 21, 2022 12:23 pm
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

Hey all, Thanks for the kind replies. I've taken on board what was suggested and ended up with: ; 10 SYS (5120) *=$1001 BYTE $0E, $10, $0A, $00, $9E, $20, $28, $35, $31, $32, $30, $29, $00, $00, $00 SCRN=$1e00 COLOUR=$9600 CMAP=$1010 SMAP=$120A SCRMAP incbin "DSKY1.sdd",1,1 *=$1400 jsr def...
by MartinC
Sun Nov 20, 2022 9:16 am
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

Thanks Thegg - what's the difference with the code sample you gave me? Tried it and same results. Setting the redefined char set aside and commenting that out, I get the result below. The top row looks as expected, it all goes wrong after that. Screenshot 2022-11-20 151323.png I'll look again at Mik...
by MartinC
Sat Nov 19, 2022 7:14 am
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

Thank you both for your replies. I'm using CBM PRG Studio v4's assembler and tools. I have generated a customer char set and screen in the designers and saved them off to binary files in the project folder. Then I have the following code, cobbled together from watching YouTube and reading (I am a to...
by MartinC
Sun Nov 13, 2022 5:17 am
Forum: Programming
Topic: Addressing into screen memory, how?
Replies: 18
Views: 1654

Re: Addressing into screen memory, how?

I'll have a rethink and try an approach without x and y registers