Releases: artrag/Screen-2-converter-with-sprite-overlay
Screen2 converter in matlab: now with executable
scr2conv Executable
- Usage
From commandline type:
scr2conv image.bmp
or
scr2conv image.png
image.png\bmp should be already with the screen 2 size (256,192) and using the 15 colors from the TMS9918
Smaller images will be extended by zeros
Larger images cropped
Colors will be approximated to the TMS palette without dithering.
You will get 4 output files:
testcol.bin
testpat.bin
testsat.bin
testspt.bin
use this msx basic program to load the above files and see the converted image
10 color 15,0,0:screen 2,2
20 bload"testcol.bin",s
30 bload"testpat.bin",s
40 bload"testspt.bin",s
50 bload"testsat.bin",s
100 a$=input$(1)
- Prerequisites for Deployment
Verify that version 9.3 (R2017b) of the MATLAB Runtime is installed.
If the MATLAB Runtime is not installed, you can run the MATLAB Runtime installer.
To find its location, enter
>>mcrinstaller
at the MATLAB prompt.
Alternatively, download and install the Windows version of the MATLAB Runtime for R2017b
from the following link on the MathWorks website:
http://www.mathworks.com/products/compiler/mcr/index.html
For more information about the MATLAB Runtime and the MATLAB Runtime installer, see
Package and Distribute in the MATLAB Compiler documentation
in the MathWorks Documentation Center.
NOTE: You will need administrator rights to run the MATLAB Runtime installer.
- Files to Deploy and Package
Files to Package for Standalone
-scr2cnv2.exe
-MCRInstaller.exe
Note: if end users are unable to download the MATLAB Runtime using the
instructions in the previous section, include it when building your
component by clicking the "Runtime downloaded from web" link in the
Deployment Tool.
-This readme file
- Definitions
For information on deployment terminology, go to
http://www.mathworks.com/help and select MATLAB Compiler >
Getting Started > About Application Deployment >
Deployment Product Terms in the MathWorks Documentation
Center.