How can I change the screen mode on an MSX2+? (Software and gaming MSX Fora)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 163 gasten en 0 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Software and gaming - How can I change the screen mode on an MSX2+?

Schrijver

How can I change the screen mode on an MSX2+?

papa_november
msx novice
Berichten: 18
Geplaatst: 03 Februari 2008, 03:54   

Is it possible to change the screen mode from 40 to 80 columns from within MSXDOS/BASIC? How about switching from NTSC to PAL?
[D-Tail]

msx guru
Berichten: 2963
Geplaatst: 03 Februari 2008, 04:51   
40 to 80 columns in DOS: mode 40<return>
40 to 80 columns in BASIC: width 80<return>
NTSC to PAL in DOS: doesn't exist by default. Do BASIC<return>VDP(10)=2<return>_SYSTEM<return>
NTSC to PAL [actually, 60Hz to 50Hz, but wots the difference eh? ] in BASIC: VDP(10)=2<return>
PAL to NTSC in DOS: doesn't exist by default. Do BASIC<return>VDP(10)=0<return>_SYSTEM<return>
PAL to NTSC in BASIC: VDP(10)=0<return>
Yukio
msx professional
Berichten: 722
Geplaatst: 03 Februari 2008, 05:18   
The difference is that Brazil uses PAL-M 60 hz mode ...
Also there is "NTSC with 50 hz" too!

For change the color signal someone would need to replace the crystal ...


papa_november
msx novice
Berichten: 18
Geplaatst: 03 Februari 2008, 06:09   

Thanks guys!

I discovered that you have to type "SCREEN 0" before any of the 80/40 colum-related commands will work. I also found out that you can make the machine boot with the current settings every time using the SET SCREEN command- this has the side effect of also making DOS use 80 columns on startup.

Is there any way to create an AUTOEXEC.BAT entry to do the PAL/NTSC switch? Maybe have it run a tiny BASIC program that does it?
[D-Tail]

msx guru
Berichten: 2963
Geplaatst: 03 Februari 2008, 12:25   
Well, you could e.g. search the web for a program 50HZ.COM/60HZ.COM, put these on your (hard)disk and call them from the AUTOEXEC.BAT. The problem is finding these tools. Maybe someone can come up with a small program for you.
manuel
msx guru
Berichten: 3347
Geplaatst: 03 Februari 2008, 13:46   
or get BASIC.COM, a program that lets you execute basic statements in MSX-DOS. Make an autoexec.bat with: BASIC VDP(10)=VDP(10)OR2

[D-Tail]

msx guru
Berichten: 2963
Geplaatst: 03 Februari 2008, 19:08   
@manuel: doesn't that have to be "BASIC.COM VDP(10)=VDP(10)OR2" then? BASIC is as far as I know a built-in statement to return to the BASIC interpreter.
manuel
msx guru
Berichten: 3347
Geplaatst: 03 Februari 2008, 23:51   
oh, it's called "BASKOM", not "BASIC". (BASic KOMmando.)
NYYRIKKI
msx master
Berichten: 1485
Geplaatst: 04 Februari 2008, 10:02   
Here is one solution... Type this on BASIC:
A$="F321E8FF7EEE0277D3993E89D399C9":FORI=0TO14:POKEI-14847,VAL("&H"+MID$(A$,I*2+1,2)):NEXT:BSAVE"HZ.COM",&HC600,&HC60F

... Now to change between 50/60Hz in DOS just type "HZ"

 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.