orion70 wrote:...could you please:
1- Make a 16K+ version of the character generator
New release: 3 New Fonts for Your Vic
Moderator: Moderators
I just realized, I don't know how to work with RAM expansions. How the heck do I make user graphics when the memory shifts?
Everything I've done before now was with no expansion. I could see myself someday expanding by 3k, but 8k or more would require me to put the user graphics at the beginning and point the program elsewhere, etc. Sounds too complicated.
Everything I've done before now was with no expansion. I could see myself someday expanding by 3k, but 8k or more would require me to put the user graphics at the beginning and point the program elsewhere, etc. Sounds too complicated.
- Mike
- Herr VC
- Posts: 4841
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Hi, Jeff!
Second, you'd put the BASIC start at 7169:
Finally, you'd place a complete copy of the uppercase character set at 5120:
Now, you can start to write your own program. The charset at 5120 is activated with POKE 36869,205. The text screen is located at 4096, and colour RAM at 37888. If you want to save everything, write:
Then upon LIST, or reload, you'll see the line
again, which starts your own program as you type RUN - and then you can edit it again.
One small caveat: if you load such a program when the BASIC start is already put at 7169, line 1 enters an infinite loop, as the BASIC start isn't altered, and line 1 just re-runs itself.
Michael
P.S.: So no reason for you anymore not to use 8K, or bigger extensions.
I think you'd like to edit your program/game on the VIC, and still want to be able to save the whole lot (including charset) in one piece onto disk. This can be done quite easily, as follows (with at least 8K RAM expansion inserted): First, type in this BASIC stub:Jeff-20 wrote:How the heck do I make user graphics when the memory shifts?
Code: Select all
1 POKE44,28:RUN
Code: Select all
POKE44,28:POKE7168,0:NEW
Code: Select all
FORT=0TO2047:POKE5120+T,PEEK(32768+T):NEXT
Code: Select all
POKE44,18:SAVE"NAME",8
Code: Select all
1 POKE44,28:RUN
One small caveat: if you load such a program when the BASIC start is already put at 7169, line 1 enters an infinite loop, as the BASIC start isn't altered, and line 1 just re-runs itself.
Michael
P.S.: So no reason for you anymore not to use 8K, or bigger extensions.
Last edited by Mike on Tue Mar 15, 2016 3:25 am, edited 1 time in total.
- Mike
- Herr VC
- Posts: 4841
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
In that case, some extra work is necessary, as Jeff's character sets are stored at 6144.
Within VICE, and with +8K (or more) active, proceed as follows:
Code: Select all
LOAD"FONT1.PRG",8,1
Code: Select all
FORT=0TO2047:POKE5120+T,PEEK(6144+T):NEXT
Code: Select all
1 POKE44,28:RUN
POKE44,28:POKE7168,0:NEW
Code: Select all
1 POKE36869,205:NEW
POKE44,18:SAVE"FONT1A.PRG",8
RUN
Greetings,
Michael
Last edited by Mike on Tue Mar 15, 2016 3:26 am, edited 1 time in total.
It's really hard to improve upon the VIC's standard font. I don't think I could improve legibility. I should have spent more time on these three. I was just curious about how it could be done. It makes for a neat toy.
I think I have some emotional block preventing me from using memory expansion. I can never seem to get around to starting a project that requires more memory!
I think I have some emotional block preventing me from using memory expansion. I can never seem to get around to starting a project that requires more memory!
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Thanks Mike, will try it ASAP and submit problems here.Mike wrote:If any questions remain ...
They're nice, and at least one (the 2nd IIRC) has a good readability. I encourage you to produce some more sets .Jeff-20 wrote:It's really hard to improve upon the VIC's standard font. I don't think I could improve legibility. I should have spent more time on these three. I was just curious about how it could be done. It makes for a neat toy.
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
I'm trying to "single-file" BASIC adventures with Jeff's fonts, but I'm already stuck at this point . When LOADing"FONTn",8,1 with 8K+ expansion, I get the error screen:Mike wrote:In that case, some extra work is necessary, as Jeff's character sets are stored at 6144.
Within VICE, and with +8K (or more) active, proceed as follows:Code: Select all
LOAD"FONT1.PRG",8,1