someone could test on a real MSX1 and report the value printed out

By PingPong

Prophet (3756)

PingPong's picture

06-07-2021, 13:10

10 Screen 2,2:COLOR 4,3,1:CLS
15 FORT%=0TO255:VPOKET%,(T%AND1)*85+85:NEXTT%:VDP(0)=4
20 AD%=&HC000: DEFUSR=AD%
30 READ A$:  IF A$="$$" THEN 50
40 POKEAD%,VAL("&H"+A$):AD%=AD%+1:GOTO30
50 A%=USR(0):OUT (&H98),255:OUT (&H98),255
80 DATA E5,21,FF,3F,CD,53,00,E1,C9,$$
55 A%=VPEEK(0):Screen 0:PRINTA%
Login or register to post comments

By Pencioner

Scribe (1468)

Pencioner's picture

06-07-2021, 15:10

On Toshiba HX-21 it prints 255

By PingPong

Prophet (3756)

PingPong's picture

06-07-2021, 17:23

Thx!
And obviously it has a TMS VDP RIGHT?
Because the code is doing something illegal for a TMS VDP, by setting unused bits of reg 0, i would make sure there were no strange issues... anyway it is exactly what i expected. on a V99x8 should print "85"

By Pencioner

Scribe (1468)

Pencioner's picture

06-07-2021, 17:45

Yeah it is 9928 (NTSC) one iirc

By PingPong

Prophet (3756)

PingPong's picture

07-07-2021, 15:36

anyone could test this code with a machine with a V9938 and only 16K of VRAM ? (i know there exists some msx1 models with a V9938 inside)
Or test with TMS clones?