Search found 108 matches

by TNT
Wed Jul 13, 2011 3:45 pm
Forum: Collecting and History
Topic: Bomber Word discovered!
Replies: 74
Views: 33666

The program below attempts to determine which memory pages have something mapped into them. Reading unconnected memory is not reliable - on my VIC-20 this program reports BLK5 (values 160 - 191) even when there's nothing in there. All other unconnected memory return the high byte of address, and tha...
by TNT
Tue Jul 12, 2011 11:25 am
Forum: Collecting and History
Topic: Bomber Word discovered!
Replies: 74
Views: 33666

It may be possible that the ROM can be salvaged (at least partially) without opening the cartridge. If VIC-20 boots to normal startup screen then you can write a BASIC program to check if the cartrige shows up in memory. If VIC-20 hangs then the cartrifge definitely does that but ROM contents are ba...
by TNT
Tue Jul 12, 2011 11:17 am
Forum: Games
Topic: labyrinth-game : Aavelabyrintti don't work ?
Replies: 9
Views: 1650

There are no special chars in PETSCII so the word "mikä" ("what" / "which") gets usually written as "mika" whis is a common male name in Finland.

(useless fact of the day: Ä and Ö are not umlauts)
by TNT
Fri Jul 08, 2011 5:30 am
Forum: Games
Topic: Vic Wolf
Replies: 55
Views: 12488

How about using the following construct instead? And here is one more construct I've used myself when setup time is significant (for example executing virtual machine instructions where the actual function does very little). It loses its advantage if you often call the same function repeatedly. vec...
by TNT
Fri Jul 08, 2011 4:42 am
Forum: Games
Topic: labyrinth-game : Aavelabyrintti don't work ?
Replies: 9
Views: 1650

Re: labyrinth-game : Aavelabyrintti don't work ?

Vicman *1970 wrote:Aavelabyrintti (by Mika Vaikeusaste)
BTW, "mika vaikeusaste" is not author's name, it's question "what difficulty level?" ;)
by TNT
Tue Jan 18, 2011 2:31 am
Forum: Games
Topic: TNT's Z-code interpreter, and FE3
Replies: 65
Views: 34199

Notice the VIC label As it is now the interpreter needs 35 KB expansion. Interpreter itself is in BLK5 and is not ROMable as it uses self-modifying code for speed. While some Infocom adventures can be played with 24 KB expansion every extra kilobyte helps as it reduces disk access. Speaking of spee...
by TNT
Tue Jan 11, 2011 12:43 pm
Forum: Games
Topic: TNT's Z-code interpreter, and FE3
Replies: 65
Views: 34199

orion70 wrote:Hope TNT is still reading us :wink: .
I am. I don't have too much time for 6502/6510 these days tho :(
by TNT
Mon Dec 20, 2010 10:49 am
Forum: Games
Topic: New Release: Doom
Replies: 328
Views: 97484

How about masking before shifting, that will eliminate the need for "clc". Hmm, would that still work when the "shifting" is all NOPs? Yes, if you clear carry before you enter the loop and if you don't read textures backwards (step is always positive). I doubt you wrap address f...
by TNT
Sun Dec 19, 2010 7:46 pm
Forum: Games
Topic: New Release: Doom
Replies: 328
Views: 97484

Here's the inner loop, by the way: How about masking before shifting, that will eliminate the need for "clc". Also, "dex; bpl" will save two cycles, the cost being that you need to "jmp loop" instead of dropping into it as texture address increment must be moved just b...
by TNT
Thu Aug 05, 2010 5:50 pm
Forum: Programming
Topic: Using and improving Exbasic
Replies: 100
Views: 41005

wimoos wrote:

Code: Select all

	LDX #$00    	; Pull acc.1 from stack
LAF53	PLA     	; 
	STA $61,X    	; 
	INX     	; 
	CPX #$05    	; 
	BNE LAF53    	; 

Code: Select all

	LDX #$FB    	; Pull acc.1 from stack
LAF53	PLA     	; 
	STA $66,X    	; 
	INX     	; 
	BNE LAF53    	; 
by TNT
Fri May 28, 2010 12:38 am
Forum: Programming
Topic: ROL or ROR in BASIC
Replies: 5
Views: 1816

If you can afford an array with 256 elements you can precalc all mirror images, if not you can mirror a byte as two 4-bit parts:

Code: Select all

dimm(15):fori=0to15:readm(i):next:data 0,8,4,12, 2,10,6,14, 1,9,5,13, 3,11,7,15
b = (m(a/16)+m(aand15)*16)
where a is the byte to mirror.
by TNT
Fri Apr 30, 2010 6:25 am
Forum: Programming
Topic: Another programming opportunity
Replies: 5
Views: 1555

If there are enough identical row patterns you may be able to save memory by using 7 bits as an offset to previous rows if "unused" bit is set. Routine fetching one screen is 30+ bytes longer than without compression and you have to store screen start address (unless you always process the...
by TNT
Mon Mar 29, 2010 2:36 pm
Forum: Other Systems
Topic: The Price of Storage
Replies: 4
Views: 1697

by TNT
Fri Mar 26, 2010 9:24 am
Forum: Hardware and Tech
Topic: Purchased a Vic-20 on ebay and it has 2 red push buttons...
Replies: 11
Views: 2738

Reset button where you need to press both buttons, maybe to avoid doing it accidentally?
by TNT
Mon Mar 22, 2010 3:37 pm
Forum: Games
Topic: TNT's Z-code interpreter, and FE3
Replies: 65
Views: 34199

Lack of time... lack of sleep... so when I have time I usually sleep Image