Jump to content
Sign in to follow this  
Sikor

Graphics 3 Planner - early beta version

Recommended Posts

Hello!
XXL at http://atarionline.pl/forum/comments.php?DiscussionID=2936&page=1#Item_11wrote,that he's searching for GFX-man, who can draw GFX for 3rd mode of Basic (8 mode Antic). So, I wrote early beta version for do it.
Handling:
1,2,3,0 - color number
L - load data (960 bytes)
S - save data (960 bytes)
D - drawing/clearing picture
Draw with joystick. Load and save data with full path (for example: D:TEST.SG3).
One more - no DOS exit and no error detect in this beta, but fully functional for this time.
Some info about SG3 (Standard Graphics 3) format:
- four colours
- 40x24 resolution
- no additionalinformation
- only 960 bytes long
In future I'm planning add AG3 (Additional Graphics 3) format:
- add colour options on the end of file (4 bytes)
- maybe add some bytes for info/author for future use (max 800 bytes) - for examples to presentation
- 964 (or 964+800 bytes max) long.
Any ideas, what i can put else into this short tool?
Best regards,
Sikor
====
Edit: link Edited by Sikor

Share this post


Link to post
Share on other sites

Hello Sikor!

 

Any such tool can be helpful. You could add some patterns, like squares, circles, etc. It this mode it is harder to make some details, but anyway. Then, filled shapes could be helpful, tool patterns... My thoughts...

 

Thanks for the program.

 

Greetings,

Gury

Share this post


Link to post
Share on other sites
Beta 002 - fixed format length from 960 bytes to 240 bytes - Thx Seban! I forgot, that in GR3 one byte is four pixels... Edited by Sikor

Share this post


Link to post
Share on other sites
New format AG3 description:
Extended with additional data format SG3. Description indicates the additional elements (described in the order ).
* Information about the color settings at the end of the file ( 4 bytes)
* Differentiator file ( 1 byte in the form of a mark ) :
** N - no further information
** S - short info
** I - info
** A - animation
** F - future applications
* Length of 245 (or 245 + additional ) bytes
Highlights :
* N - indicates the absence of additional information , it ends a file, the file length 245 bytes
* S - a short info, 40 - byte text information at the end of the file, the file length of 285 bytes
* I - info , information Descriptive divided into blocks :
** 240 bytes of data
** 4 bytes in order of color registers 708, 709, 710 and 712
** Discriminant I - 1 byte
** 40 bytes short info ( the same as the differentiator S)
** 1 byte indicating the amount of 120 byte blocks description (1 to 3 )
** Additional descriptions blocks - 120 , 240 or 360 bytes
In total file length will be 406, 526 or 646 bytes
* A - animation ( in preparation)
* F - " future" , the extras are not specified (probably the image width , height , others - in preparation)
== What are the differentiators ? ==
The purpose of this format is to use the image boxes in a custom way. With the description of the work included in the file "on compo " may incorporate a description, and record them at the end of the data does not affect the display . You can use them to encode additional options (for example, the number of frames in the animation and switching time - may well be one slideshow ).

Format *.AG3 will be available from next public beta version. Edited by Sikor

Share this post


Link to post
Share on other sites

well, this is my tool for GR3 graphics.

I used it for init screens in Laser Blaster or Monex.

 

[attachment=341476:AtGr3.zip]

 

Enjoy :)

Share this post


Link to post
Share on other sites
:-) I do not use mouse at all,
only touchpad - tapping and scrolling off
...
because I like it. ;-)

Share this post


Link to post
Share on other sites

well, this is my tool for GR3 graphics.

I used it for init screens in Laser Blaster or Monex.

 

superB tool:
1. buttons to change color,
2. import bmp
3. define X-size,Y-size of screen (in bytes)

Share this post


Link to post
Share on other sites

 

:-) I do not use mouse at all,
only touchpad - tapping and scrolling off
...
because I like it. ;-)

 

i was afraid u live in atari age

Share this post


Link to post
Share on other sites

 

 

superB tool:
1. buttons to change color,
2. import bmp
3. define X-size,Y-size of screen (in bytes)

 

i really dont plan any updates of this tool, but i can provide you delphi source (im not sure if i still have it) so you could expand it as u like if u are interested.

Edited by matosimi

Share this post


Link to post
Share on other sites

So I found it, here is archive with Delphi7 source.

[attachment=341891:atari_gr3Pixeled.zip]

 

I could not resist, so I spent 1 hour (it's quite funny reinventing delphi syntax) to add keyboard controls: (keys 1,2,3 select colors) and 32/40 pixel width switch:

 

[attachment=341893:atgr3v11.png]

 

ZIP archive contains also executable (not only sources).

 

There will be no more updates, but you can use my source and add what u need.

 

Regards,

Martin

Edited by matosimi

Share this post


Link to post
Share on other sites

I could not resist, so I spent 1 hour (it's quite funny reinventing delphi syntax) to add keyboard controls: (keys 1,2,3 select colors) and 32/40 pixel width switch:

 

 

 

:D

 

thx

Share this post


Link to post
Share on other sites

Beta 002 - fixed format length from 960 bytes to 240 bytes - Thx Seban! I forgot, that in GR3 one byte is four pixels...

Sikor, sorry for bombing your thread... but it could save your time and effort.

Share this post


Link to post
Share on other sites
@matosimi: no problem, I write it for fun. I like work on real atari - XXL can use your program, so, I have no deadline for it ;)

Share this post


Link to post
Share on other sites

Hej Matosimi, I updated your program a little. I added some new features, which I hope will be useful for someone. And I hope it is ok I modified your program in such a way.

 

[attachment=343575:atgr3_2.jpg][attachment=343576:atgr3_1.jpg][attachment=343578:atgr3_5.jpg][attachment=343579:atgr3_6.jpg][attachment=343580:atgr3_7.jpg][attachment=343581:atgr3_3.jpg]

 

Here are notes about the new version (text from source code)

 

  Original program by MatoSimi
  Modification Gury
 
  29.5.2014
  ---------
 
  - Porting to Lazarus and Free Pascal development environment (from Delphi)
  - New features
  - Few bug fixes
  ---------------
  - Added toolbox with new features:
    - Drawing shapes: square, rectangle, circle, diamant
    - Program settings: shape ratio and distance
    - Atari BASIC viewer source code to use pictures in your own programs on Atari
  - Two palettes to choose from: Atari default and grayscale
  - Bug fix: no trailing pixels when moving in any of four directions
 
  Development environment:
    Lazarus (version 1.0.12)
    Free Pascal Compiler (version 2.6.2)
 
Here is executable program and source code, it is free for any use:
[attachment=343582:Atgr3_v1_2.zip]
 
Enjoy!
Gury
 
 

Share this post


Link to post
Share on other sites

 

And I hope it is ok I modified your program in such a way.

 

No, i'm quite surprised that you decided to spend time on such thing :). btw, you removed the 40/32 width switch that i put there on xxl's request.

and those shapes are really funny, their "rendering" is so slow. I checked your code, i thought there are delays or something, but there are not! i dont know lazarus/fpc so i dont know what makes it that slow.

Share this post


Link to post
Share on other sites

Hi Matosimi,

I will add 40/32 width switch feature again. I am sorry for slow rendering, it is just me and the way I choose to draw things in the matrix on the screen. The reason is my Plot procedure, which draws pixels in matrix for every step in drawing process. I will have to recode program to make it faster. Lazarus and Free Pascal are NOT the problem, because they are very fast, even faster then Delphi and C is some respects.

Share this post


Link to post
Share on other sites

It looks like a nice little tool, just a shame that I'm not planning anything in GR.3.

 

Is there any reason this couldn't be extended for GR.15?

Share this post


Link to post
Share on other sites

Thanks, it could be extended for any graphics mode by remapping matrix and some code in the program.

 

Sorry, Sikor, to intrude topic on your nice tool for Atari computers. I will move to new topic for this program. Please keep up with your tool.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...