MSX (1) System Variables in Work Area

Page 1/7
| 2 | 3 | 4 | 5 | 6

By erwinmusik

Master (140)

erwinmusik's picture

08-06-2014, 21:22

In the next time, I´m shure, I will have a lot of questions about the work area in MSX (1).

The first question, I can´t find the area where the function keys text is saved...I´ve searched the whole ressources offered here.
In Basic there are commands to "re-text", from Assembler I can disable and enable the Display of the function keys, but no idea to give them new content.
Thanks for helping me....

Winfried

Login or register to post comments

By NYYRIKKI

Enlighted (5735)

NYYRIKKI's picture

08-06-2014, 21:25

#F87F... 16 bytes for each entry... Stored in ASCIIZ

By erwinmusik

Master (140)

erwinmusik's picture

08-06-2014, 21:29

Ohhh, Yes, now I´ve got it. Thanks
I´ve read these section of the Advanced Programming Guide three or more times, but maybe too fast........found other interesting things instead Smile

By flyguille

Prophet (3028)

flyguille's picture

08-06-2014, 23:27

erwinmusik wrote:

Ohhh, Yes, now I´ve got it. Thanks
I´ve read these section of the Advanced Programming Guide three or more times, but maybe too fast........found other interesting things instead Smile

what? like telling to BASIC that is 25 rows in the screen, (default 24), so when you PRINTs the last character that is the last row and last column It won't do a scroll down (note that must be KEY OFF).

By erwinmusik

Master (140)

erwinmusik's picture

08-06-2014, 23:32

ups, whats this?

I´ve spent a half an hour to understand that 40 lines means only 39! I´ve got it from the MSX Guide later, 8 Pixels on the left and the right are reserved....
And I will use only 22 rows, otherwise there´s something strange

By erwinmusik

Master (140)

erwinmusik's picture

08-06-2014, 23:41

and why 16 Bytes for ech Fkey entry? it Displays only 7!

By Grauw

Ascended (9683)

Grauw's picture

08-06-2014, 23:50

V9938’s 80 column mode?

I don’t get what you mean by “40 lines means only 39”, btw.

By NYYRIKKI

Enlighted (5735)

NYYRIKKI's picture

08-06-2014, 23:55

flyguille wrote:

what? like telling to BASIC that is 25 rows in the screen, (default 24), so when you PRINTs the last character that is the last row and last column It won't do a scroll down (note that must be KEY OFF).

Why to leave it to 25 rows... Smile

screen0:width80:vdp(10)=vdp(10)or128:cls:poke&hf3b1,28:locate0,24:fori=24to26:?chr$(27);"K":next:poke&hf3b1,26:locate0,0

By erwinmusik

Master (140)

erwinmusik's picture

08-06-2014, 23:56

hmm, in MSX1? 80 characters?
I use INITTXT EQU 006ch
and if I Count the characters on the Display, it´s only 39.
On page 12 in the MSX technical databook is written: suggested value 39x24
8 Pixels are not used by the Software..........

By flyguille

Prophet (3028)

flyguille's picture

09-06-2014, 00:01

erwinmusik wrote:

ups, whats this?

I´ve spent a half an hour to understand that 40 lines means only 39! I´ve got it from the MSX Guide later, 8 Pixels on the left and the right are reserved....
And I will use only 22 rows, otherwise there´s something strange

No, it is because the numbering is from ZERO up to 39 (40 in total), not like others BASIC.

Or maybe you didn't set "WIDTH 40", default is WIDTH 37 in MSX1, but if MSX2 the default is the saved value in the CMOS.

By NYYRIKKI

Enlighted (5735)

NYYRIKKI's picture

08-06-2014, 23:59

erwinmusik wrote:

ups, whats this?

I´ve spent a half an hour to understand that 40 lines means only 39! I´ve got it from the MSX Guide later, 8 Pixels on the left and the right are reserved....

No, by default MSX screen 0 displays 38 characters... You need to type WIDTH 40 in order to use all 40.

erwinmusik wrote:

and why 16 Bytes for ech Fkey entry? it Displays only 7!

It depends... ie. in WIDTH 80 it displays more... How ever the function keys print all characters, no matter what they display.

Page 1/7
| 2 | 3 | 4 | 5 | 6