All games for MSX2 with SCREEN 5 (with or without SCROLL )

By DanySoft

Champion (452)

Аватар пользователя DanySoft

05-07-2019, 18:12

Hello, I wanted to let you know something about the horizontal and vertical scroll:
the MSX2 with screen5, four pages of which two pages per screen:
only two pages remain, the fact is that I am no longer 100% sure that I can program the horizontal scroll in BASIC with TURBO ON / OFF ....

v9990 is very powerful and has table names + horizontal and vertical scroll in P1 / P2.

The games that are the best are for screenXscreen:

screenXscreen which means screen the other screen ...
screenXScroll means screen with horizontal + vertical scroll.
I can communicate that in the ASM code the horizontal scroll + interupt line for the second page: is it still impossible to continue programming?
In msx2 + and msxTurbo R they have the horizontal scroll hardware but the names table is not available as in screen 1,2,4!
Instead of VPOKE we use COPY () - () to (x, y) but it requires double buffers to be able to vsync. but little memory remains of the vram !!!

For horizontal and vertical scrolling, you can use SCREEN 4, (no SCREEN5, because it has no table names).
sprite 0-31: 8 in a horizontal row max
6144-6911: table names 0-768
14336-16384: sprite gfx

With the access of other pages of the vram it will be possible to reuse other GFX, other FONT, etc ...

That is all for the moment.
Screen 5 in BASIC so far remains ONLY screenXscreen!

For me we can use SJASM compiler Z80, but for the rest of the game with SCREEN 5 (at the middle of the screen, at the top the points, at the bottom the horizontal scroll).
That game inspires VSCREEN with SCREEN 5.4. But now I no longer program ...
ByeBye
DanySoft Smile

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By MsxKun

Paragon (1134)

Аватар пользователя MsxKun

05-07-2019, 20:38

DanySoft wrote:

That is all for the moment.
Screen 5 in BASIC so far remains ONLY screenXscreen!

Uh? what?
Btw... SC5 can do vertical scroll easily even in Basic.

By DanySoft

Champion (452)

Аватар пользователя DanySoft

05-07-2019, 21:10

MsxKun wrote:
DanySoft wrote:

That is all for the moment.
Screen 5 in BASIC so far remains ONLY screenXscreen!

Uh? what?
Btw... SC5 can do vertical scroll easily even in Basic.

For example:
screen page 0: -> screen page 1 <<<<<< screenXscreen
screen page 0+1 scroll orizzontale, vertical <<<<<<< screenXscroll

=> Set page B,A: swap A,B : (on screen 5 for screenXscroll or screenXscreen)

Only PowerBasic (v9990 with MsxTurboR) have table name on screen 2 (256x192 512k, 16384 patterns max 8x8)
DanySoft

By MsxKun

Paragon (1134)

Аватар пользователя MsxKun

05-07-2019, 21:26

Maybe are you talking about GFX9000 screen modes only?? Then no idea. Big smile

If not, not sure what you mean, but only 2+/TR has horizontal scroll between page 0 and 1. I think you said MSX2.
For vertical, you don't even need to swap any page, just use scroll register and copy the tiny new portion that appears on screen. Not optimal on Basic, but doable anyway. No GFX9000 needed.

If powerbasic doesn't do everything with GFX9000, no problem, just access hardware directly Smile

By DanySoft

Champion (452)

Аватар пользователя DanySoft

05-07-2019, 22:07

I was talking about the table of names:

*SCREEN 4 (256*192 Graphics mode with multicolour sprites):
Charcter patterns               0000-17FF       
Name table (char positions)     1800-1AFF  (*NOTA)
Sprite colours                  1C00-1DFF
Sprite attribute table          1E00-1E7F
Palette                         1E80-1E9F
PixelByte colour table          2000-37FF
Sprite character patterns       3800-3FFF


*SCREEN 5 (256*212 Graphic mode, 16 colours):
Matrix                          0000-69FF
Name table (char positions)     --------- ???
Sprite colours                  7400-75FF
Sprite attribute table          7600-767F
Palette                         7680-769F
Sprite character patterns       7800-7FFF

See this !

(*NOTA) SCREEN 1,2,4 IS THIS : "Name table", BUT SCREEN 5-8 NO "Name table"!

If I want to move the screen from left to right in screen5 ...
but I can't change an 8x8 pattern via "vpoke" in BASIC!

In fact, what did you get it right?

I'm happy with the screen 4 + scroll!
For Screen5, I'm happy with v9990 with PowerBasic (MsxTurboR).
DanySoft

By MsxKun

Paragon (1134)

Аватар пользователя MsxKun

05-07-2019, 22:26

No need to see the tables, I used SC2,SC3,SC4,SC5 and SC8 in my games...
So yes, you can scroll well horizontally wil SC4. SC5 has no pattern, so no. But v9990 is not SC5, so probably you mean P1 or P2.

I'm happy you're happy Big smile

By DanySoft

Champion (452)

Аватар пользователя DanySoft

05-07-2019, 22:43

MsxKun wrote:

No need to see the tables, I used SC2,SC3,SC4,SC5 and SC8 in my games...
I'm happy you're happy Big smile

Thank you! Smile

P1/P2 of v9990 :
These screens are excellent for managing the table of names!

I am happy with the same SOLO v9990 for two reasons:
I'm glad that in a horizontal line a maximum of 16 sprite !!!
I'm glad that the P1 / P2 name table is available which was not available in Screen5.

Thank you so much
DanySoft

By MsxKun

Paragon (1134)

Аватар пользователя MsxKun

05-07-2019, 23:03

DanySoft wrote:

I'm glad that the P1 / P2 name table is available which was not available in Screen5.

Thank you so much
DanySoft

Yes, cause SC5 is pure bitmap. I wish they would have make it like P1/P2, or like the SMS. Tile based and 16 color with no clash. Who knows what games what could we have enjoyed...