? PetitCom mkII at 3gou ● SmileBASIC Source

Sign In

*Usernames are case-sensitive
Forgot my password

PetitCom mkII at 3gou

Public Key
Min. Compat.
6 votes
Description This tool converts programs for PetitCom mkII(SB2) to run in PetitCom 3gou(SB3). You can use SB2 PTC files(PRG,MEM,GRP,CHR,SCR and COL) transferred with PetitModem. This project contains the resources, tools and sample games of SB2, so you can run them even if you don't have SB2 or PetitModem. I also uploaded the 1st and 2nd PetitCom Ogiri(Program Contest) works at sbkey[5BRE533E](1.4MB) All of these programs works on SB3, I think. The 1st PetitCom Ogiri: https://smileboom.com/special/ptcm2/co_contest/1st.php The 2nd PetitCom Ogiri: https://smileboom.com/special/ptcm2/co_contest/2nd.php

Specifications / Known issues

RECVFILE,SENDFILE,GDRAWMD are not supported yet. FREEVAR doesn't work. The PTC files transferred from SB1 (file format is "PETC0100RPRG") are not supported yet. All the variables will be destroyed on EXEC. GPUTCHR is quite slow. COLOR of the console is different.(COL0 doesn't work for console) Fonts are always same in upper and lower screen. The 2nd arguments of VISIBLE (panel on/off) doesn't work. "BGD" and "SPK" resources are not available. The first VSYNC may take a moment.(since it updates all the changes of sprites and BGs at once.)

Update log


Fixed some bugs of PRINT,BGMSETD COL2L inplementation (you can use different color palettes in two screens) Erase "Now Loading..." on running even if there is no CLS or ACLS in the program BGMSTOP with no arguments stops BEEPs Japanese Wiki: http://wiki.hosiken.jp/petc3gou/?Toukou%2F%A5%D7%A5%C1%A5%B3%A5%F3mkII_at3%B9%E6

Transfer PTC files

1. Download PetitModem. 2. Prepare PTC file from somewhere. (3. Change extension of PTC file to ".dat".) (4. Run "LZSS for PetitCom" in PetitModem (PC side) and compress dat file to PDA.) 5. Send the PTC or PDA file to SB3.

Convert PTC files

Start "-MKIICVT". (You need to run this once in order to convert the default resources etc. in the project.) First, all files with the extension ".PTC" and ".PDA" in the project are extracted. The extracted files have extensions ".PRG2", ".MEM2", ".GRP2", ".CHR2", ".SCR2" and ".COL2". Resources packaged in a PRG are exported with a file name as "(PRG name)_Pxx". Next, all the PRG2 files are converted for SB3. Some files may take several minutes to convert. The converted files' extension is ".PRG". If there is already PRG file with the same name as PRG2 file in the project, it will not be converted. If you want to convert it again, please delete the converted file.

To write and execute SB2 program directly

Write a SB2 program in slot 2. If you didn't load a SB2 program (when slot 2 is [NEW FILE]), make sure to write '​P​R​G​2​ ​o​n​ ​t​h​e first line. Start "-MKIICVT", and you will be asked whether you convert the program of slot 2 or not. Press Yes to convert and execute. The converted program is in slot 3.

To run programs from the converted files

Execute the converted PRG directly, or start from "-MKIIMENU". The D-pad and ABXYLR can be used like SB2. The left stick (slide pad) functions as a cross key, and the right stick (C stick) functions as an ABXY button. The START button is replaced with ZL, ZR or SELECT. These button settings are written at the beginning of "-MKIILIB", and you can change them.

File menu screen

If you start "-MKIIMENU", you can open the file menu. Up / Down key: Select file Left and right keys: tab switching

PRG tab

A button: Run.

MEM tab

The contents of the MEM resource are displayed.

GRP tab

The contents of the GRP resource are displayed. A button: Output as SB3 GRP file. B button: Output as TXT or DAT (8-bit palette number, 32-bit palette number (4 dots per element) or 32 bits for GLOAD).

CHR tab

The contents of the CHR resource are displayed. X button: Change character size. Y button: Change the color palette. B button: Set to the character used in the "SCR" tab. A button: Output as GRP file.

SCR tab

The BG map will be displayed. Move with the slide pad.

COL tab

The contents of the COL resource are displayed. X button: Set as a color palette to use on the GRP tab. Y button: Set as a color palette to be used on the CHR tab. A button: Output as GRP file.

To run on PetitCom4

If you use Petit Converter(by utsurikimagure), "-MKIICVT" does not need to be converted (It can be executed on PetitCom4, but I haven't test yet.) "-MKIILIB" does not need to be converted (because it is automatically converted at the time of E​X​E​C.) "-MKIIMENU" needs to be converted. If you select and execute The converted files (.PRG) directly, you need to convert it. If you start from "-MKIIMENU", you don't have to convert them.
  • SB3
  • SB2
  • mkII
  • Emulator
  • PTC
  • PDA
  • PetitModem
  • PetitCom
  • Ogiri
1 Comment(s) Minxrod Minxrod Third Year My account is over 3 years old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength QSP Contest 2 Contest Participant I participated in the second SmileBASIC Source QSP Contest! Thanks for uploading this here!