Jump to content

Photo

Mad Studio

Mad Pascal Mad Assembler Graphics Player/Missiles Atascii screens Character sets

51 replies to this topic

#1 Gury OFFLINE  

Gury

    Stargunner

  • 1,185 posts

Posted Sat Nov 5, 2016 7:12 AM

Hello there,

 

I introduce you PC utility program Mad Studio for Windows environment featuring:

 

- Source code editor plus compile feature for Mad Pascal (it is really mediocre editor right now)

- graphics editor

- player/missile editor

- character set editor

- Atascii editor (graphics 0)

- Source code generator

- Color palette loader

 

This is currently really just a mock-up version and I will see what will be added when necessary to support my work on future projects. I came with the idea to create and compile Mad Pascal program with all editors in the same place. Mad Pascal and Mad Assembler are integrated in the program environment, but can be called from external destination if necessary.

 

castle.png graphics.png player01.png chr_sets.png  atascii.png

 

You can use the program freely and experiment as you like. It is archived in the file below. Just extract program files and folders to destination of your choice.

 

Enjoy!

Gury

Attached Files


Edited by Gury, Sat Nov 5, 2016 7:13 AM.


#2 ilmenit OFFLINE  

ilmenit

    Moonsweeper

  • 395 posts

Posted Sun Nov 6, 2016 5:01 AM

Cool. Quite similar to what I'm working on :-)

Unity8b.png



#3 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Sun Nov 6, 2016 9:18 AM

Hi ilmenit,

 

your application looks very beautiful and user-friendly :) Keep up the good work and I hope you release it someday (or is it already somewhere?).

 

My goal is to make full-featured ide with as many functionality as possible to make Atari project development faster. But I have to make it bug-free and stable application. Of course, there are many special and magnificent tools already out there to help us.

 

I am open for any sugestions and improvements. I also have to complete source code generators for other languages like Quick, CC65 and so on. Other people will have to come by to help me there for the examples and hints.

 

Greetings



#4 lotek_style OFFLINE  

lotek_style

    Moonsweeper

  • 256 posts
  • Location:www.tscc.de

Posted Sun Nov 27, 2016 3:12 PM

Seems to be a good thing to try out some Atascii after nearly 30 years again :)



#5 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Mon Nov 28, 2016 1:01 AM

Hi lotek_style,

 

it's great to see Atascii screen fans around :) Please check new version (attachment below) and see if it shows your screens, comments and feedback are all welcome.

 

New version overview:

 

- Source code generators for Atari BASIC, Turbo BASIC XL, Action! and Mad Pascal

- Source code full examples

- Graphics editor (added graphics mode 15 - 160x192 in 4 colors, on loading image the proper palette colors are set automatically)

- Player/missile editor (mirror image vertically and horizontally, rotate image - 8x8 matrix - Escape key exits rotate mode)

- Character set editor (fixed bug on selecting characters, inverse characters included, rotate character, mirror character vertically and horizontally)

- Atascii editor - graphics 0 (fixed bug on selecting characters, inverse characters included, text locator bug fixes, fill screen with character)

 

mad_studio_gr.png mad_studio_font.png mad_studio_scr.png

 

Greetings,

Gury

 

 

Attached Files



#6 Matej OFFLINE  

Matej

    Chopper Commander

  • 201 posts

Posted Mon Nov 28, 2016 5:50 AM

Looks cool! Thanks!!!



#7 pps OFFLINE  

pps

    Dragonstomper

  • 762 posts
  • Location:Berlin, Germany

Posted Wed Nov 30, 2016 11:15 AM

 

- Source code generators for Atari BASIC, Turbo BASIC XL, Action! and Mad Pascal

Basic generator? Will you support BASIC within the editor too? Could be handy for some optimisation of old BAS or TBA files to have an editor direct at PC not within ATARI Emulator.



#8 MrFish ONLINE  

MrFish

    River Patroller

  • 3,546 posts
  • Location:1010-1010

Posted Wed Nov 30, 2016 12:29 PM

Could be handy for some optimisation of old BAS or TBA files to have an editor direct at PC not within ATARI Emulator.

 

Of course the basicParser already does this very well on the PC, Mac, and Linux: basicParser

 

You supply your own code editor. I do have language def files for Notepad++, ConTEXT, and Crimson Editor, if anyone is interested.

 

I encourage Gury though, since this will be Atari-specific. The basicParser would easily compliment here, and I suppose this to be what Gury has in mind.


Edited by MrFish, Wed Nov 30, 2016 12:30 PM.


#9 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Wed Nov 30, 2016 2:12 PM

Basic generator? Will you support BASIC within the editor too? Could be handy for some optimisation of old BAS or TBA files to have an editor direct at PC not within ATARI Emulator.

Sure in the future. I had this kind of idea in mind to support underlying tools and cross-compilers. But for now, as for BASIC dialects goes, it is just a helper for generating source code from data from editors like pmg, graphics, font, atascii editor, etc.

 

 

Of course the basicParser already does this very well on the PC, Mac, and Linux: basicParser

 

You supply your own code editor. I do have language def files for Notepad++, ConTEXT, and Crimson Editor, if anyone is interested.

 

I encourage Gury though, since this will be Atari-specific. The basicParser would easily compliment here, and I suppose this to be what Gury has in mind.

That's true, basicParser would be good candidate. Every such tool would be linked as external tool, or, with the permission of original author, as part of main ide. I still have to ask Tebe for Mad Pascal and Mad Assembler.

 

Other tools include Effectus, Atalan, Action Compiler and so on.



#10 peteym5 OFFLINE  

peteym5

    Stargunner

  • 1,467 posts
  • Location:Buffalo NY USA

Posted Wed Nov 30, 2016 3:48 PM

Is this Pascal only or does it work with 6502 assembly?



#11 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Thu Dec 1, 2016 12:41 AM

Currently it compiles only Mad Pascal code, but assemblers like MADS, xasm and ATasm will be supported soon.


Edited by Gury, Thu Dec 1, 2016 12:41 AM.


#12 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Tue Dec 6, 2016 2:53 PM

Hi,

 

now Mad Studio also parses Atari BASIC and Turbo BASIC programs thanks to TurboBasic XL parser tool by Daniel Serpell, known also as dmsc. This tool, Mad Pascal and Mad Assembler by Tebe are integrated in ide, but they can also be called from another location on your device. Information about supporting and external programs can be found in Help menu / About in the main program window. There are also links referencing to sites of original authors of mentioned tools.

 

When BASIC program is parsed, it is ready to run on your favourite Atari emulator or real machine. One of the next versions will probably support automatic calling of BASIC programs from emulator.

 

Brief notes about new version:

- Mad Pascal, Atari BASIC and Turbo BASIC support

- Some bug fixes in listings in Source code generator

- More logical layout of icons for horizontal mirroring, vertical mirroring and rotating of players and characters

 

Greetings

 

Attached Files



#13 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Wed Dec 7, 2016 7:06 AM

I forgot to mention. Using source code editor for BASIC programs, you have to provide Atari BASIC / Turbo BASIC XL code in listed format (normal ASCII format), or better yet, copy/paste listing code to editor directly (and saving to text file). Then, on parsing stage by default, tokenized version of BASIC program is ready for you. To open or save untokenized (listed) BASIC file from/to any device, it has to have different extension than .BAS.

 

TurboBasic XL Parser Tool options can be changed directly in the program, with the exception of two options, -n nun to set the maximum line length and -o to set the output file name, which will be supported in next version.

 

Also, with the help of TurboBasic XL Parser, you can code program in the way as referred here.

 

Example:

  ' Example program

  ' One statement per line:
  print "Hello All"
  print "---------"
  print "This is a heart: \00"

  ' Also, multiple statements per line:
  for counter = 0 to 10 : ? "Iter: "; counter : next counter

  ' Line numbers
30
  ' And abbreviations:
  g. 30

This tool has also other commands and directives to choose from. Check it out:

 

https://github.com/dmsc/tbxl-parser

 

Greetings



#14 Matej OFFLINE  

Matej

    Chopper Commander

  • 201 posts

Posted Wed Dec 7, 2016 7:34 AM

Thank you Gury!!!

I like your studio also Atari Graphics Studio!



#15 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Wed Dec 7, 2016 9:30 AM

Thank you for using it, Matej.

 

Your name sounds like you come from country I am living. :)



#16 Matej OFFLINE  

Matej

    Chopper Commander

  • 201 posts

Posted Wed Dec 7, 2016 10:34 AM

Yes but I am from Slovakia not Slovenia (you have sea and we have Danube, almost same flag and probably I will understand your language without learning).

Was there strong ATARI scene in Slovenia? Also how many of Slovenian Atari sceners there are?

We are 4 in my hometown. And active max 20 in Slovakia (probably there are more owning

ATARIs but still having turbo 2000 and tape player).

 

Yes I will include your tool in my future games...


Edited by Matej, Wed Dec 7, 2016 10:35 AM.


#17 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Thu Dec 8, 2016 4:23 AM

True, there are many similarities comparing both countries. Except our flag has symbol with Slovenian highest mountain Triglav :)

 

Unfortunatelly there are not so many Atarians here, I know just two or three who used it and one who actually used it for programming in assembler and making Tetris game. But the Atari community is still pretty big all over the world. That is what it counts.

 

I am glad my tool will be of some use for you. Many new features will be added, but in time.



#18 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Sun Jan 8, 2017 7:26 PM

Hi there,

 

new version of Mad Studio (0.4) is ready to download.

 

Some features:

 

- Text mode 1&2 editor (including two types of source code generator examples)
- Mad Assembler (MADS) source code editor and compiler
- Graphics mode 8 support (I have to fix minor bug when saving a picture)
- Support for editing Action! / Effectus source code listings in code editor, but currently without compilation
 
Text mode 1&2 editor has some problems with generated code for Atari BASIC, but I will fix it. I also included COLOR3 register in color palette window to work with inverse lowercase letters in these text modes.
 
mad_gr1_01.png mad_gr2_01.png  mad_gr8_01.png

 

Greetings

 

Attached Files


Edited by Gury, Sun Jan 8, 2017 7:32 PM.


#19 xxl OFFLINE  

xxl

    Dragonstomper

  • 959 posts
  • Location:Rabka-Zdrój /Poland

Posted Mon Jan 9, 2017 2:12 AM

I want to change size of edited image in Atascii editor... e.g. 32x16, 40x8

 

 

???



#20 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Mon Jan 9, 2017 3:15 AM

Hi xxl,

 

Atascii editor is fixed to 40x24 area. Can you explain me in what way did you want to resize the image? Clip particular part of the image and use selected area when saving and generating the code?



#21 xxl OFFLINE  

xxl

    Dragonstomper

  • 959 posts
  • Location:Rabka-Zdrój /Poland

Posted Mon Jan 9, 2017 3:43 AM

e.g. edit levels for this: http://atariage.com/...like/?p=3667538



#22 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Mon Jan 9, 2017 4:38 AM

Ok, I will think about the ways to expand an editor and when new functionality will be added, you can check and confirm if it is what you wished for.

 

Greetz



#23 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Sat Jan 14, 2017 4:33 PM

Hi xxl,

 

try this version and tell me me if this is what you were searching for. In Atascii editor at the bottom of the left side panel type the maximum X and Y coordinates to set new limits. Then draw you artwork, save it and go to Source code generator to see prepared code listing. For testing purposed I just prepared code for Atari BASIC and TBXL. Listings for other languages will be added later.

 

To determine which resolution did you choose for your artwork, I suggest naming files to corresponding resolution. For example, for picture of dimensions 20x10 you could use name R20X10V1.GR0. Note that generated code puts the picture at the position 0,0. Maybe it would be good to change this parameters in next version, too.

 

Here is an example of picture with dimensions 20x10 to test what is described in this post.

 

pic20x10_gr0.png

 

Greetings


Edited by Gury, Sat Jan 14, 2017 4:36 PM.

  • xxl likes this

#24 xxl OFFLINE  

xxl

    Dragonstomper

  • 959 posts
  • Location:Rabka-Zdrój /Poland

Posted Sun Jan 15, 2017 6:13 AM

exactly. Thanks.

 

:-)



#25 Gury OFFLINE  

Gury

    Stargunner

  • Topic Starter
  • 1,185 posts

Posted Mon Jan 16, 2017 4:03 AM

Good to hear it is of some use. I will include the updates for this feature in next release.

 

Greetz







Also tagged with one or more of these keywords: Mad Pascal, Mad Assembler, Graphics, Player/Missiles, Atascii screens, Character sets

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users