Search found 4681 matches

by Mike
Sun May 05, 2024 11:26 am
Forum: Collecting and History
Topic: Young Arthur's Quest
Replies: 2
Views: 52

Re: Young Arthur's Quest

Hi, avsars, Another lost VIC-20 adventure game released in 1982 by RBI Software. I know, they are not very interesting and this time some might have preferred me not to recover the file but I am just doing this for preservation purposes. [...] The forum has quite a few members interested in adventur...
by Mike
Sun May 05, 2024 11:08 am
Forum: Programming
Topic: PRINT 32-bit integer numbers
Replies: 4
Views: 97

Re: PRINT 32-bit integer numbers

This is the code so far... I used one of the multiply routines from Toby Lobster... only to play around with them. That part ... sec jsr $cf87 ; sets mantissa to 00yyxxaa jsr $cf7e ; set rest of FAC1 and JMP to $b8d2 ... would anyhow only convert the 24-bit value contained in Y (bits 16..23), X (bi...
by Mike
Sun May 05, 2024 8:12 am
Forum: Programming
Topic: PRINT 32-bit integer numbers
Replies: 4
Views: 97

Re: PRINT 32-bit integer numbers

According to the example on codebase64.org, you need to set up the FAC in a certain fashion before the call to the VIC-20 equivalent of $B8D2, you obviously did not do that correctly. If you want more help, post the code. (and like with that other thread here , I strongly presume what you actually w...
by Mike
Fri May 03, 2024 1:17 am
Forum: Hardware and Tech
Topic: How does VIC-20 detect ROM cartridge address?
Replies: 5
Views: 495

Re: How does VIC-20 detect ROM cartridge address?

toby405 wrote:[...], correct? [...], yeah?
No. The autostart signature is also checked by the KERNAL during NMI (in particular, when the Restore key has been pressed).
by Mike
Wed May 01, 2024 2:29 am
Forum: Games
Topic: Prince of Persia
Replies: 56
Views: 9322

Re: Prince of Persia

The ROM table at $EDE4 can be used to obtain useful default values for XPOS and YPOS by applying constant offsets , regardless whether you have a PAL or NTSC VIC-20: $EDE4 contains 12 for PAL and 5 for NTSC, when you substract 5, you get 7 for PAL and 0 for NTSC. $EDE5 contains 38 for PAL and 25 for...
by Mike
Wed May 01, 2024 2:11 am
Forum: Hardware and Tech
Topic: How does VIC-20 detect ROM cartridge address?
Replies: 5
Views: 495

Re: How does VIC-20 detect ROM cartridge address?

How does the Vic-20 know which block is available? The VIC-20 does not "know" this - the mainboard logic tries to access memory at some address regardless whether that memory is present or not. I think if the EPROM chip is not enabled by the expansion port then the data pins on the EPROM ...
by Mike
Mon Apr 29, 2024 9:17 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 819

Re: 3D Stars

Interpreted BASIC on the VIC-20 is too slow by about two orders of magnitude to make this effect viable. No amount of trying to optimize the BASIC code is going to change that, even in the presence of a BASIC extension like MINIGRAFIK that at least gives a headache-free access to bitmap graphics. As...
by Mike
Sun Apr 28, 2024 5:01 am
Forum: Games
Topic: WIP: Bubble Bobble
Replies: 22
Views: 1802

Re: WIP: Bubble Bobble

I also didn't know how I'd solve the problem of drawing and moving so many bubbles around at the time while keeping in one screen refresh (50 fps) or at worst two (25 fps). On the C64, only Bub, Bob and the enemies are done with sprites, at full frame rate. The bubbles are not animated with anythin...
by Mike
Fri Apr 26, 2024 1:35 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 819

Re: 3D Stars

It is so slow. :shock: It isn't fast on the C64 either. The article in C=Hacking recommends using a SuperCPU. Does anyone have an idea how to speed this up in BASIC? Simplify the arithmetic stuff as much as possible. Factor out repeated calculations out of the main loop that yield the same value du...
by Mike
Thu Apr 25, 2024 10:04 am
Forum: Games
Topic: WIP: Bubble Bobble
Replies: 22
Views: 1802

Re: WIP: Bubble Bobble

[...] who wants to invest months in a game for nothing in return[?] It is somewhat unfair to come up with this argument to someone who first of all just asked about a possible port of BB to the VIC-20. One still finds companies that sell commercial game software for the VIC-20, so there must be a m...
by Mike
Tue Apr 23, 2024 1:45 pm
Forum: Games
Topic: WIP: Bubble Bobble
Replies: 22
Views: 1802

Re: WIP: Bubble Bobble

Hi, scalz8! First of all, welcome to Denial! :mrgreen: I just made a quick peek at your WIP or demonstrator. For ease of discussion, here's the program text: 10 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT 11 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRIN...
by Mike
Mon Apr 22, 2024 8:48 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 3718

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

I did start thinking in terms of pattern recognition within the intemediate code, so for example [...] Except it does not show the character set but merely clears the screen, that one in a post of mine dating from 2016 is actually the same example as yours: If you take the simple assignment stateme...
by Mike
Mon Apr 22, 2024 2:09 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 25202

Re: Sprites in ML

The data of the sprite is not correct. With VIC register $9005 set to 240, the only thing the VIC-I chip does is - displaying the ROM character set. If i change the register $9005 from $F0 (240) to $FE (254) the start text cannot be seen. As @thegg already wrote, you need to supply a copy of the RO...
by Mike
Sun Apr 21, 2024 2:39 am
Forum: Programming
Topic: Unexpanded VIC Font Editor
Replies: 4
Views: 1013

Re: Unexpanded VIC Font Editor

Ah, I get your temporary unexpand comment... Probably not. yeah -- since the video memory map is identical, LOAD... 8,1 is necessary then SYS manually instead of RUN. The tool I linked to, "3K.PRG", temporarily 'unexpands' the VIC-20. It sets the BASIC limits and the screen position as fo...
by Mike
Sat Apr 20, 2024 10:39 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 25202

Re: Sprites in ML

I don't get the change between Poke 36869,240 and Poke36869,254 displayed correctly. Can someone here perhaps provide support? Judging by the disassembly, all the code ever does is writing $F0 to VIC register $900F, during init. If $900F was supposed to be changed to another value than $F0, the cor...