Search found 4681 matches

by Mike
Wed Apr 03, 2024 12:08 pm
Forum: General Topics
Topic: ** Revision 2024 Invitation / Website
Replies: 18
Views: 4218

Re: ** Revision 2024 Invitation / Website

So we can meet there :) For the record, tokra had his VIC-20 set up and running on a table right next to the central corridor. ... BTW, tokra and I had a nice meetup with two graphicians from Poland (skrzyp and Erick Elis of INBA Systems) who were amazed seeing skrzyp's entry to the Oldskool Graphi...
by Mike
Sun Mar 31, 2024 8:18 am
Forum: Games
Topic: Chariot Race unexpanded from tape. Why does it require 8K expansion from disk?
Replies: 1
Views: 888

Re: Chariot Race unexpanded from tape. Why does it require 8K expansion from disk?

Did converting this game to load from disk force the use of a RAM expander? Those are just bad "cracks" - not that the game actually had a copy protection of any noteworthiness. However, bringing all the data into place from disk instead of tape might require some extra memory, because ta...
by Mike
Fri Mar 29, 2024 1:17 pm
Forum: General Topics
Topic: ** Revision 2024 Invitation / Website
Replies: 18
Views: 4218

Re: ** Revision 2024 Invitation / Website

Thank you! :D
wrote:You should seriously consider giving it again, or even doing a YouTube version for us!
Edit: The video is up here: https://www.youtube.com/watch?v=LiPrL9788wU. Enjoy! :mrgreen:

Greetings,

Michael
by Mike
Wed Mar 27, 2024 2:38 am
Forum: General Topics
Topic: ** Revision 2024 Invitation / Website
Replies: 18
Views: 4218

Re: ** Revision 2024 Invitation / Website

To those interested,

I will give a seminar lecture on the topic of Machine Language Monitors on Revision 2024.

The seminar is scheduled on Friday, Mar. 29th, 6 P.M. CET (1 P.M. EST, 10 A.M. PST).

Greetings,

Michael
by Mike
Wed Mar 27, 2024 2:19 am
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 6491

Re: Assembler

In this thread here, another recent thread about " Recommendations for VIC-20 assembly tutorial[s], tools " already had been mentioned. In that other thread you will find the link to my VICMON primer . That one specifically aims to make the bridge between a high level language (here, BASIC...
by Mike
Mon Mar 25, 2024 2:00 pm
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 4537

Re: Line drawing algorithm

Do the tables get generated each time the routine is called or only once on initialisation? I suppose you mean the tables that are written in lines 20..27 of the test rig: these of course need only be written once, at program start. The main loop of the test rig just sets random co-ordinates for th...
by Mike
Sun Mar 24, 2024 4:06 pm
Forum: Programming
Topic: Unixoid VIC
Replies: 23
Views: 6832

Re: Unixoid VIC

pixel wrote:Now for chasing zombies… how did printing decimals work again?
See the thread "Printing (unsigned) 16-bit numbers in Assembly, how?". :wink:
by Mike
Sun Mar 24, 2024 1:37 pm
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 4537

Re: Line drawing algorithm

I'm curious: what if you had y2>y1, so lines were always drawn in one direction vertically as well? You can't have both. Given x2>x1 and y2>y1, a line on screen looks like a backslash, "\", assuming a left-handed co-ordinate system. You can't enforce y2>y1 though when the endpoints alread...
by Mike
Sun Mar 24, 2024 7:53 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 4537

Re: Line drawing algorithm

Warning, longer post. Before I posted my own version of the "20000 pixels/second" line routine on the previous page, I also had a PM exchange with Merytsetesh about MrSterlingBS's original implementation: I'll take a look into this the next days whether I can derive a version of the routi...
by Mike
Sat Mar 23, 2024 3:20 am
Forum: Programming
Topic: Unixoid VIC
Replies: 23
Views: 6832

Re: Unixoid VIC

That is actually the job of CLRCHN . CLALL in addition only rudely purges the table of open files (by setting the number of open files to 0) and there is only one single instance in ROM where a JSR $FFE7 is used - by the BASIC interpreter to ensure there are no (pre-)allocated logical file numbers a...
by Mike
Sat Mar 23, 2024 2:15 am
Forum: Programming
Topic: CBM Key Character Arrangement
Replies: 1
Views: 1997

Re: CBM Key Character Arrangement

You need to differentiate clearly between PETSCII codes (i.e. what is used with CHROUT and CHRIN), screen codes (what is stored in the text screen RAM) and glyphs (the actual definition of a character matrix in the character ROM or as user defined character in RAM). What algorithm is used to pull ou...
by Mike
Mon Mar 18, 2024 3:56 am
Forum: General Topics
Topic: modded VIC 20 kernals?
Replies: 14
Views: 2174

Re: modded VIC 20 kernals?

[...] asking for the screen size returns hard coded values. It would have been nice if that was dynamic, but sadly too late. The KERNAL call JSR $FFED (SCREEN) is beyond uselessness. It assumes a level of abstraction (regarding the screen size) that at that time neither was expected nor required fr...
by Mike
Sat Mar 16, 2024 2:51 pm
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 4537

Re: Line drawing algorithm

MrSterlingBS wrote:[...]
PM sent
by Mike
Sat Mar 16, 2024 4:59 am
Forum: Programming
Topic: Line drawing algorithm
Replies: 20
Views: 4537

Re: Line drawing algorithm

Here's my take on this subject: Before any questions come up in this regard: MINIGRAFIK already contains a line routine, which is not as fast as the routine below, however it is much more compact (just about 100 bytes extra beyond the pixel set function otherwise already provided within the MG code)...
by Mike
Sat Mar 16, 2024 3:47 am
Forum: General Topics
Topic: modded VIC 20 kernals?
Replies: 14
Views: 2174

Re: modded VIC 20 kernals?

The KERNAL is accessed through a jump table in RAM. You can change those jump points and switch out any KERNAL subroutine you want without having to replace ROMs. That is the same case with the C64, but it did not give people a reason not to produce modified KERNAL ROMs. Edit/Addition : That being ...