Question about MSX1 palette (Emulation MSX Forum)MSX Resource Center               
              
English Nederlands Espa�ol Portugu�s Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 49 guests and 1 MSX friend online

You are an anonymous user.
 

MSX Forum


MSX Forum

Emulation - Question about MSX1 palette

Goto page ( Previous Page 1 | 2 )
Author

Question about MSX1 palette

AuroraMSX

msx master
Posts: 1262
Posted: April 06 2007, 12:33   
Quote:

I suggest a binary 45 byte .pal file, with as contents 24-bit r,g,b data of the 15 colours.

Binary file formats are so last millennium. Use XML and all of a sudden you've got flexibility!

Some crazy ideas - not possible with the 45 byte binary format:
  • different palettes for sprites and background
  • different palettes per screen mode or
  • RGB translation tables for the MSX2 bitmap modes (I mean: a translation table that translates MSX RGB values (0..7) into emulator RGB values (0..255), per channel)

hap
msx addict
Posts: 504
Posted: April 06 2007, 13:15   
Good idea, XML frameworks already exist in the mainstream MSX emulators. Though it will be troublesome for other, less complete, emulators to add XML support for something as trivial as external palettes.
manuel
msx guru
Posts: 3542
Posted: April 06 2007, 18:27   
Nah, it's pretty easy. There are very nice tiny libraries available that make it easy to parse XML. E.g. blueMSX includes TinyXML.
 
Goto page ( Previous Page 1 | 2 )
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.