Search found 58 matches

by johncl
Thu Nov 20, 2014 2:19 am
Forum: Emulation and Cross Development
Topic: Vic 20 Screen and Character designer
Replies: 129
Views: 64574

Re: Vic 20 Screen and Character designer

Ah yes the mixed case button is yet another one I missed, it seems to get stuck if you swap it back and forth between default and mixed case a couple of times, requiring a restart of the page to get it working again. I am sorry if I have contributed to your "can of worms" - I am a develope...
by johncl
Wed Nov 19, 2014 11:56 am
Forum: Emulation and Cross Development
Topic: Vic 20 Screen and Character designer
Replies: 129
Views: 64574

Re: Vic 20 Screen and Character designer

Indeed a keyboard mapping would solve that problem, I didn't think of that. And I missed the caveat - sometimes I guess the best thing is to get burned. ;) Btw when I use Shift-A it just adds normal A and not a different character. Is the mapping set up by default to repeat the standard chars? I hav...
by johncl
Wed Nov 19, 2014 8:58 am
Forum: Emulation and Cross Development
Topic: Vic 20 Screen and Character designer
Replies: 129
Views: 64574

Re: Vic 20 Screen and Character designer

Great! Thanks for the update! Just a word of warning for users of this editor - pressing backspace can sometimes perform a back navigation on the browser and basically you loose everything then (unless you do as I do now, save frequent backups). :) PS: Only one feature request for the keyboard input...
by johncl
Wed Nov 19, 2014 2:02 am
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Ok, I feel the ROM routine is pretty decent for my use, at least it covers all bytes somewhat evenly as you will see from this example: lda #9 sta $900f lda #1 ldx #0 clearmore: sta $1e00,x sta $9600,x inx bne clearmore again: jsr $e094 ldx $63 lda $1e00,x beq again inc $1e00,x jmp again This initia...
by johncl
Wed Nov 19, 2014 1:20 am
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Found these where you have posted about random stuff: Randomness in games More random questions That latter one has a nice one with some analysis. Very nice. Just wondering how bad the ROM RND routine really is, I will see how well I can use it. In most cases I only need RND for number ranges 0-15 a...
by johncl
Tue Nov 18, 2014 2:46 pm
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Well, I have used this simple one previously with success: http://codebase64.org/doku.php?id=base:fast_8bit_ranged_random_numbers Ofc heavily simplified it works good enough for many things. Have not tested how well it covers the range though. I guess in my case I can also use a timer to affect the ...
by johncl
Tue Nov 18, 2014 1:33 pm
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Thanks, the Reference Manual actually mentions modulation is needed to get pure tones - no doubt, many just ditched that and went with a simple lookup table yes. Will be interesting to play with the sound chip as well some day, looking forward to that. As for code yes that "ROM calls and other ...
by johncl
Tue Nov 18, 2014 11:29 am
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Well I did understand most if it but I sort of missed the part (even checking the reference manual) that say that the VIC chip only can see system memory and never the expanded memory. Perhaps its there in the books, but I missed it - although I had an inkling due to any address beyond $2000 was mis...
by johncl
Tue Nov 18, 2014 8:39 am
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

I am sorry if I have offended your intelligence or something. I am new to the Vic20 architecture, and I have read a bit here and there, figuring out things as I go when developing this game. I also did run each and every one of those type-ins you linked to check out the capabilities although I did n...
by johncl
Tue Nov 18, 2014 8:09 am
Forum: Emulation and Cross Development
Topic: Vic 20 Screen and Character designer
Replies: 129
Views: 64574

Re: Vic 20 Screen and Character designer

Great thanks for this update! Its working fine! :D Found one niggling bug (in Chrome) - if you click the keyboard mapping textfield (nice if you could make this a bit bigger) - when you type in it, it also puts chars in the screen area. :) Also, I wonder how hard it is to get the screen view to be m...
by johncl
Tue Nov 18, 2014 4:27 am
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Sounds to me they were rushing the architecture of the Vic20 in many areas. Still, I guess I should be able to do a small boot loader thing first that puts the main part always into "unexpanded" area and then the program itself loads some stuff into $0400 if 3k is present. I can also make ...
by johncl
Tue Nov 18, 2014 3:10 am
Forum: Programming
Topic: Get the first program to automatically load the next part
Replies: 24
Views: 2957

Re: Get the first program to automatically load the next par

Great, I was able to load a file into memory easily with the LOAD KERNAL call (after setting up those two others). But I also realized I had misunderstood that when a 3kb cartridge is plugged in the program is loaded into $0400 and onwards, haha talk about silly mistake. So my optional load cannot r...
by johncl
Tue Nov 18, 2014 2:52 am
Forum: Emulation and Cross Development
Topic: Vic 20 Screen and Character designer
Replies: 129
Views: 64574

Re: Vic 20 Screen and Character designer

Great news! That will make it very useable - atm I use a Vic20 emulator and the built in "screen editor" to prototype screen layouts and such but it has all these nasty things you have to watch out like whole screen shifting down when you type something in the last column. :roll:
by johncl
Tue Nov 18, 2014 1:37 am
Forum: Programming
Topic: Vic20 5k memory
Replies: 51
Views: 11073

Re: Vic20 5k memory

Yeah, Whack is cool and very well implemented. My ambitions are a bit higher, we'll see how far I get on 5kb. :)
by johncl
Mon Nov 17, 2014 7:55 am
Forum: Programming
Topic: Vic20 5k memory
Replies: 51
Views: 11073

Re: Vic20 5k memory

Ah, thank you for that tip about the wrap-around feature. Very nice! I might try to squeeze in a small attract screen using 64 custom chars for some more detailed graphics. The game itself have a number of random elements which is nice for generating game map in cassette buffer area and using whatev...