[VG5000] starting something via Boriel’s ZX-Basic Compiler

Cette catégorie traite de développements récents pour nos vieilles machines, applications, jeux ou démos... Amis programmeurs, c'est ici que vous pourrez enfin devenir célèbres!

Modérateurs : Papy.G, fneck, Carl

Avatar de l’utilisateur
Papy.G
Modérateur
Messages : 3047
Inscription : 10 juin 2014 13:40
Localisation : Haute-Garonne/Gers

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par Papy.G »

This may be because of the internal memory structure of the EF9345P.
There are two first lines, 0 and 1, displayed one, the other, or totally disabled at screnn line 1.
The 24 more screen lines are from memory lines 8 to 31, the second screen line beeing set by a register from those and rolling back from 31 to 8.
There is no memory line 2 to 7, maybe the rom routine simplifies adress translation to keep screen memory seamless without the "hole" in the computer's ram.

Unfortunately, some of the pickiest 9345 techs among us are not comfortable enough in english to answer here and tell more than me about it.
Soyez exigeants, ne vous contentez pas de ce que l'on vous vend.
Demandez-en plus, ou faites-le vous-même.
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

thanks for the information!

on the version i’m attaching now i’m struggling on how to use setet/seteg from assembly, using the bios routine $001B as explained from Clefs Pour VG500 (i think i used the registers hl and a correctly there)
Pièces jointes
example01f9c3_improving_setetgnotworking.zip
(52.26 Kio) Téléchargé 126 fois
Avatar de l’utilisateur
Mokona
Messages : 1040
Inscription : 17 déc. 2016 22:01
Localisation : Nord Est des Yvelines
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par Mokona »

Yes indeed, as 0x0092 is communicating directly with the EF9345, the coordinates for the lines are 0, then 8 to 31. In the book you're reading, this is documented page 77.

As Papy.G said, this is because of the internal memory layout of EF9345.
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

thanks for all information!
recently i shared some improvements at http://www.boriel.com/wiki/en/index.php ... s_-_VG5000 - soon i hope sharing more stuff! :)
Avatar de l’utilisateur
Mokona
Messages : 1040
Inscription : 17 déc. 2016 22:01
Localisation : Nord Est des Yvelines
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par Mokona »

So it seems you succeded in setting the extended characters, as the dithered palette in the screenshot seems to be made this way.

Great.
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

thanks! soon i hope being able to make and share some more stuff! ;)
Avatar de l’utilisateur
Papy.G
Modérateur
Messages : 3047
Inscription : 10 juin 2014 13:40
Localisation : Haute-Garonne/Gers

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par Papy.G »

I was wondering if the Extended characters were set by the VG5000's Rom or if you designed them. 8)

Can't wait for you to Explore the Q characters possiblilities! :D
Soyez exigeants, ne vous contentez pas de ce que l'on vous vend.
Demandez-en plus, ou faites-le vous-même.
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

thanks, and yes, i’m curious about this setet/seteg stuff, and how can we get the most of it, or trying at least! :D
(btw, i’m really curious if, for example, people like from Mojón Twins, Retroworks, Bob’s Stuff, Kazuhiro Furuhata, etc., starts to work on VG5000 as well! ;) - in the meanwhile i might keep doing my very humble experiences! :D ) (btw, talking about Kazuhiro Furuhata, i think would be really great if someone try to convert his stuff for MZ700 into VG5000 (really amazing games for that limited machine MZ700 is), technically it doesn’t seem that impossible)
btw, what are the “Q” characters? some extra hidden stuff i don’t know yet? (sorry for asking, i’m really a newbie on VG5000! :D )
Avatar de l’utilisateur
Papy.G
Modérateur
Messages : 3047
Inscription : 10 juin 2014 13:40
Localisation : Haute-Garonne/Gers

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par Papy.G »

When you'd be done with the VG5000's ROM routines, and "les clef pour VG5000", you'll be able to dive into the EF9345P's datasheet and talk to it directly.
Q stands for Quadrichrome, you can set up to 8 such sets, of 100 10x4 pixels in 4 indexed colors among the 8 possible (different from one character to another), stretchable to 200 in 5x4 px, making 160x125 px in a 25r x 40c page, such page taking 3kB in Vram, freeing 5kB, enough to fill the screen without using twice the same character.
Soyez exigeants, ne vous contentez pas de ce que l'on vous vend.
Demandez-en plus, ou faites-le vous-même.
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

ah ok, i heard a bit about quadrichrome at https://www.facebook.com/vg5000
i'm curious about, i want to see more and better examples using it
Avatar de l’utilisateur
Papy.G
Modérateur
Messages : 3047
Inscription : 10 juin 2014 13:40
Localisation : Haute-Garonne/Gers

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par Papy.G »

I'm quite slow at making things, but I want to make a project based on some Minitel models that have the 9345 (or 9347), 8K Vram, but there, the "Processor" is a i8052, and have not enough Ram, and not routed the right way, as of today, to load programs from a mass storage.
What was the P2000's VDP?
Soyez exigeants, ne vous contentez pas de ce que l'on vous vend.
Demandez-en plus, ou faites-le vous-même.
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

https://github.com/mamedev/mess-svn/blo ... s/p2000t.c says it’s SAA5050 (perhaps the same used mostly on Teletext and Minitel?)
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

i never saw a minitel working in front of me, i only saw photos, videos, and some magazine news back in the 80’s - anyway, i’m really curious about seeing minitel terminals used as home computers, and something like that, stuff from demoscene, games, etc., or other interesting projects using them - please let me know about all projects involving it! :)
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

i never heard of i8052 - is it based on i8080, i8086, i8088, or something like that?
Avatar de l’utilisateur
nitrofurano
Messages : 95
Inscription : 26 juil. 2013 15:30
Localisation : Porto
Contact :

Re: [VG5000] starting something via Boriel’s ZX-Basic Compiler

Message par nitrofurano »

and how much is the ram available? we must not forget that Atari 2600 had only 128 bytes of ram, and 32 registers for video and audio! :D
Répondre