|
Post by Roman on Jun 11, 2004 6:13:26 GMT -5
Prompt me please, what BASIC-commands it is possible to transfer a picture (complete screen) from IBM PC in Sega by? If it is possible, print an example of the subroutine. Thanks.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jun 12, 2004 15:35:56 GMT -5
Okay, here are some steps that'll directly get what you're wanting 1) You need a way to convert an image to Sega tiles and a pallette. The easiest is to use ImaGenesis, devster.retrodev.com/sega/imagenesis/ . Simple load an image, and export the tiles 2) Copy and paste the pallette data into your basic code 3) Save the tiles as a binary into the folder of your basic project 4) Go to basiegaxorz This should be your code (this is for a 320*224 pic, if you have a smaller pic, learn what to do from the code): disable screen loadtiles tiles,1120,0 pallettes pallette,0,0,16 i=0 for y=0 to 27 for x=0 to 39 drawtile i,x,y i++ next next enable screen tiles: datafile your_pic.bin,bin pallette: ' Copy and paste pallette data into here
|
|
|
Post by Tom Maneiro on Jun 12, 2004 18:35:20 GMT -5
|
|
|
Post by Roman on Jun 14, 2004 5:40:59 GMT -5
For DevSter - large thanks! For Tom Maneiro - thanks too, but in his program <togepi> it is necessary to change by places of a line <for ix=1 to 25> and <for iy=1 to 25>, differently picture is deformed.
The small remarks on the program ImaGenesis 1) There is no function of copying in the buffer by the right button of the mouse (it is necessary to copy manually line with pallette data) 2) To add function <Close file>, differently it is impossible to correct an open file in the other graphic editor.
The small remarks on the program BasiEGA 1) In the text editor figure <1> and letter <l> practically do not differ visually. 2) There is no function of a history of last open files (Recent or History)
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jun 15, 2004 12:50:02 GMT -5
For DevSter - large thanks! For Tom Maneiro - thanks too, but in his program <togepi> it is necessary to change by places of a line <for ix=1 to 25> and <for iy=1 to 25>, differently picture is deformed. The small remarks on the program ImaGenesis 1) There is no function of copying in the buffer by the right button of the mouse (it is necessary to copy manually line with pallette data) 2) To add function <Close file>, differently it is impossible to correct an open file in the other graphic editor. The small remarks on the program BasiEGA 1) In the text editor figure <1> and letter <l> practically do not differ visually. 2) There is no function of a history of last open files (Recent or History) okay, i admit, there are bugs =) it seems that the more people that use it, the more feedback i get, which is good, and that's what i want imagenesis: 1) i'll add a copy to clipboard button, before i just used CTRL+C to copy 2) i don't fully understand you. do you mean that when an image is open in imagenesis, and when you switch back to your graphic editor to edit it, it won't save? it does this on purpose because of the gdi+ functions, and i dunno if i can fix that. the only fix i can think of would to be to load an image and then immediately quantize it basiegaxorz: 1) i swear i put a font size selection in the options window. i opened up the latest v0.12, and noticed it was gone =o, will fix in the later release 2) not going to add that function
|
|
|
Post by Roman on Jun 19, 2004 0:13:05 GMT -5
I meant, that at an open file simultaneously in ImaGenesis and in the other graphic editor, I should leave from ImaGenesis, then to keep a file on a disk, again to open ImaGenesis and again to open a file. If there was a function CloseFile, I should not leave from ImaGenesis, and simply to close a file, and then it to open. The small remark about SGTD (TileDesigner). 1) When press the button ToggleGrid, there is a grid. Then press the button NEW, the grid disappears, but the button ToggleGrid remains pressed, though it should automatically be unpressed.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jun 30, 2004 23:48:59 GMT -5
i can add a close file option, i'll do it in some later release
with sgtd, the grid thingy was a quickie, i just changed the drawmode, that's if you know visual basic. i'll add a real grid later
|
|