need a few POKES please,
Moderator: Moderators
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
need a few POKES please,
Hello together,
1st I'll hope, I'm right here.
for about 30 years we started to write a funny game on our VIC-20, but it would be never released, right now I'm ill and I have a lot of time, so I was thinking to restart our funny Game, but during the years I lost all of our papers, instruction ect. But that's OK. Mostly of it I've got somewhere in my brain.
But I need a few Pokes that I don't remember.
When I like to get a bigger screen, we used Pokes to do that, but I can't remember it. So does anyone know that 4 Pokes to blow up the screen. Also there was a Peek for the screen to locate the actually position of for e.g. the cursor. So, please help me a little.
thank you.
Toni
PS: Sorry for my English, it isn't so good, because I'm from Austria.
1st I'll hope, I'm right here.
for about 30 years we started to write a funny game on our VIC-20, but it would be never released, right now I'm ill and I have a lot of time, so I was thinking to restart our funny Game, but during the years I lost all of our papers, instruction ect. But that's OK. Mostly of it I've got somewhere in my brain.
But I need a few Pokes that I don't remember.
When I like to get a bigger screen, we used Pokes to do that, but I can't remember it. So does anyone know that 4 Pokes to blow up the screen. Also there was a Peek for the screen to locate the actually position of for e.g. the cursor. So, please help me a little.
thank you.
Toni
PS: Sorry for my English, it isn't so good, because I'm from Austria.
.....42, what else ???
Re: need a few POKES please,
Hi,
Check VIC-20 memory map. I'm sure that it provides all needed information for you
http://www.zimmers.net/cbmpics/cbm/vic/memorymap.txt
9002 36866 bits 0-6 set # of columns
bit 7 is part of video matrix address
9003 36867 bits 1-6 set # of rows
bit 0 sets 8x8 or 16x8 chars
Check VIC-20 memory map. I'm sure that it provides all needed information for you
http://www.zimmers.net/cbmpics/cbm/vic/memorymap.txt
9002 36866 bits 0-6 set # of columns
bit 7 is part of video matrix address
9003 36867 bits 1-6 set # of rows
bit 0 sets 8x8 or 16x8 chars
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
thanks a lot, that's it. I know that zimmers.net side.
also, when I use Poke 36866,xx I can get more space on the screen ( opens to the right side )
when I use Poke 36867,xx I get also more space downwards.
So, is there a Poke that the screen opens to the left and up side ??
I mean not 36865 or 36864. or must I use a machine routine ?
cu Toni.
PS: when we where young I think I know there where one or two more Pokes to expand the screen, but I'm not sure.
also, when I use Poke 36866,xx I can get more space on the screen ( opens to the right side )
when I use Poke 36867,xx I get also more space downwards.
So, is there a Poke that the screen opens to the left and up side ??
I mean not 36865 or 36864. or must I use a machine routine ?
cu Toni.
PS: when we where young I think I know there where one or two more Pokes to expand the screen, but I'm not sure.
.....42, what else ???
Re: need a few POKES please,
36864 and 36865 are for screen position
36866 and 36867 are for screen proportions
So you must use these 4 values to get what you want, there is no other way.
36866 and 36867 are for screen proportions
So you must use these 4 values to get what you want, there is no other way.
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
cheers, that I found out, too. Thanx a lot.
but is there no other way to expand the screen to the left and up ?
I mean, for e.g. when I expand the screen I get more space than actually the 505 or not ?
also did the Pokes work as well, when I'm at the 40 line mode ?
I'm not so sure, because when we started to write our game for about 35 years, we managed it to open the screen with a small DATA-machine code PRG.
And it expands and also the lines where in a correct state, but no I don't remember what we've done years before.
but is there no other way to expand the screen to the left and up ?
I mean, for e.g. when I expand the screen I get more space than actually the 505 or not ?
also did the Pokes work as well, when I'm at the 40 line mode ?
I'm not so sure, because when we started to write our game for about 35 years, we managed it to open the screen with a small DATA-machine code PRG.
And it expands and also the lines where in a correct state, but no I don't remember what we've done years before.
.....42, what else ???
Re: need a few POKES please,
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
thanx a lot, with these list it would work, also I found something on the net, too.
.....42, what else ???
- mrr19121970
- Vic 20 Nerd
- Posts: 873
- Joined: Tue Jan 19, 2016 9:22 am
- Location: Germany
- Occupation: IT service manager
Re: need a few POKES please,
Don't be shy, share your links
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
OK, here we go, it's in German and English, on the 1st post, some Pokes didn't work correctly on VICE, but on a real VIC.
1st:www.idealine.info/emuecke/tipstricks/c64.htm
2nd:https://www.dropbox.com/s/8vfd1ftjiwkhgce/ADC.doc?dl=0
3rd: http://www.mdawson.net/vic20chrome/vic2 ... sembly.txt
ok, that's all what I found yesterday during my searching for a special Poke to expand the screen.
I have a real old book, where a lot of useful Pokes are inside, today I try to scan that few pages and than I upload it to Dropbox and post the link, I think it would be useful for others, because there is nothing standing on the net for these sort of pokes.
So see you later
Toni
1st:www.idealine.info/emuecke/tipstricks/c64.htm
2nd:https://www.dropbox.com/s/8vfd1ftjiwkhgce/ADC.doc?dl=0
3rd: http://www.mdawson.net/vic20chrome/vic2 ... sembly.txt
ok, that's all what I found yesterday during my searching for a special Poke to expand the screen.
I have a real old book, where a lot of useful Pokes are inside, today I try to scan that few pages and than I upload it to Dropbox and post the link, I think it would be useful for others, because there is nothing standing on the net for these sort of pokes.
So see you later
Toni
.....42, what else ???
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
Hello again, I wrote this : https://www.dropbox.com/s/m9zh4p5ojo65g ... H.PRG?dl=0
after a few seconds the screen expands a little and the letter goes a little higher.
My question is; is that in the opposite direction possible, I mean, I want reduce the letters a little and expand the screen, so I can have
a) more space
b) more letters
it would be nice, if anyone has an answer for me.
cheers Toni
after a few seconds the screen expands a little and the letter goes a little higher.
My question is; is that in the opposite direction possible, I mean, I want reduce the letters a little and expand the screen, so I can have
a) more space
b) more letters
it would be nice, if anyone has an answer for me.
cheers Toni
.....42, what else ???
- Mike
- Herr VC
- Posts: 4831
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: need a few POKES please,
The VIC-I chip can only display a text mode with characters/glyphs of either 8x8 or 8x16 pixels.
However, it is possible to "paint" the text screen with unique characters and use the character definition as bitmap. Without any big trickery, the biggest resolution attainable this way is 160x192 pixels. This bitmap can then be used to "host" a soft 40-column text screen with 24 lines and (self-defined) glyphs of 4x8 pixels.
You can take a look at MG Browse for an example.
Greetings,
Michael
However, it is possible to "paint" the text screen with unique characters and use the character definition as bitmap. Without any big trickery, the biggest resolution attainable this way is 160x192 pixels. This bitmap can then be used to "host" a soft 40-column text screen with 24 lines and (self-defined) glyphs of 4x8 pixels.
You can take a look at MG Browse for an example.
Greetings,
Michael
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
OK, I understand, but for e.g. when I'm in 40 lines mode ( with that program ), is it possible to redefine the keys into other characters ?
I mean, if I have 40 lines, then the screen expands anyway, so there should it be possible to play a game or something else, or did I get when I'm in 40 lines mode, just 2 colours ?
I found a file here ( I think it's from Boray ) that the screen would be expand form top to down, and you can display some letters ( on the top / or down ) and you are able to change them, so my question is. Can I use that sort of file, when I'm in 40 line mode ? because that would be really expand the screen.
Toni
PS: Sorry for my English
I mean, if I have 40 lines, then the screen expands anyway, so there should it be possible to play a game or something else, or did I get when I'm in 40 lines mode, just 2 colours ?
I found a file here ( I think it's from Boray ) that the screen would be expand form top to down, and you can display some letters ( on the top / or down ) and you are able to change them, so my question is. Can I use that sort of file, when I'm in 40 line mode ? because that would be really expand the screen.
Toni
PS: Sorry for my English
.....42, what else ???
-
- Vic 20 Hobbyist
- Posts: 118
- Joined: Mon Jan 04, 2016 10:17 pm
- Website: http://www.tonyrocks.com
- Location: Pittsburgh
- Occupation: IBM Watson Engr
Re: need a few POKES please,
I don't think so. The 40 col is attained by creating custom characters, essentially fitting 2 normal characters into on block.
- Aturnwald
- Vic 20 Amateur
- Posts: 47
- Joined: Sat Feb 13, 2016 2:11 am
- Location: Germany / Bavaria
- Occupation: painter & decorator
Re: need a few POKES please,
Ohh, that's bad, so when I use 40 chars, or something else, I can't redefine the keys, otherwise I lost the 40 chars anyway ? Is that right ?
.....42, what else ???
Re: need a few POKES please,
There is no "built-in" 40 char-mode, it is all done by a specially written software that emulates a 40-char-mode by redefining the 8x8 character-set into 4x8 or 4x7 characters and displaying those in the 8x8 grid on the screen basically as a bitmap.
Now, since 40 char-mode is done by redefining the characters in the first place, of course you can redefine them again if you know how to. You would need to understand the 40-char-mode application for that however and that will require 6502 machine-code knowledge.
Maybe you can start with a good german VIC-20 book like "VC20 TIps & Tricks" by Data Becker. This provided a good start for me back in the 1980s. Then you will see how graphics work on the VIC (that it is basically all redefined characters) and how you can move or increase the screen size.
Now, since 40 char-mode is done by redefining the characters in the first place, of course you can redefine them again if you know how to. You would need to understand the 40-char-mode application for that however and that will require 6502 machine-code knowledge.
Maybe you can start with a good german VIC-20 book like "VC20 TIps & Tricks" by Data Becker. This provided a good start for me back in the 1980s. Then you will see how graphics work on the VIC (that it is basically all redefined characters) and how you can move or increase the screen size.