Support for AHCC

Paradize and friends

Moderators: simonsunnyboy, Moderator Team, Paradize

Support for AHCC

Postby simonsunnyboy » Sun Feb 14, 2010 5:20 pm

Starting with today Paradize officially supports C coders on the Atari ST. Simon Sunnyboy plans to move to C in the upcoming time. In this process a lot of libraries and helpful C code will emerge.

You will find those libs and stuffs on the AHCC Support page. AHCC is a free and Pure C compatible compiler that is still developed and supported so go grab the AHCC Compiler package and enjoy!

For the start we have a small library for accessing the IKBD, e.q. reading keyboard, mouse and joystick without the help of TOS. Support libs for switching to ST-LOW, Falcon TrueColor, Jagpad access, DMA Sound and replaying SNDH music will soon follow (hopefully before Outline 2010)

Check our website at http://paradize.atari.org/!

Happy C coding!
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby Desty » Sat Mar 06, 2010 1:23 pm

Belated thanks from me! This is great news - I had AHCC working (on Hatari anyway, STE isn't set up for colour yet :() so look forward to messing with the Paradize libs soon.
tá'n poc ar buile!
User avatar
Desty
Atari God
Atari God
 
Posts: 1936
Joined: Thu Apr 01, 2004 2:36 pm
Location: 53 21N 6 18W

Re: Support for AHCC

Postby simonsunnyboy » Sat Jul 10, 2010 4:30 pm

A new addition by me, my ST-LOW setup and access code has been added.

You can enable ST-LOW or ST-MEDIUM on ST,STE,TT and Falcon with this new library for AHCC. It can clear the screen and load basic picture formats such as .PI1 .PC1 and .NEO into memory and display them.

A future version will include basic routines to blit blocks with widths of multiples of 16 to the screen.

Check out our AHCC support page. http://paradize.atari.org/
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby MiggyMog » Sun Jul 11, 2010 5:07 pm

Good work.

RG Done a fair bit of work in pure C which as it's compatible may be very useful?

http://rg.atari.org/source.htm
('< o o o o |''| STM,2xSTFM,2xSTE+HD,C-Lab Falcon MK2+HD,Satandisk,Ultrasatandisk,Ethernat.
User avatar
MiggyMog
Atari Super Hero
Atari Super Hero
 
Posts: 721
Joined: Sun Oct 30, 2005 4:43 pm
Location: Scotland

Re: Support for AHCC

Postby simonsunnyboy » Sun Jul 11, 2010 5:41 pm

Probably yes but a) I don't like the GODLIB API and B) want to learn how to do it myself.

It is an offer, noone has to forceful use my libs/implementation.
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby simonsunnyboy » Tue Feb 15, 2011 7:01 pm

I just added my rasterbar code for AHCC and Pure C to the library. One can now use rasters similar to the rasterbar generator and with few efforts, you can use the data created with that utility with your C codes now.
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby simonsunnyboy » Sun Feb 20, 2011 1:07 pm

I ported GT Turbo's interface for Wizzcat Protracker Replay from GFABASIC to C. You can now replay Amiga protracker modules at 12KHz on the STE DMA sound hardware from AHCC. Credits go to GT Turbo and Wizzcat ofcourse!
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby simonsunnyboy » Mon Aug 01, 2011 4:56 pm

There is now an RC_COPY equivalent for AHCC, done by me. It has the same functionality as the mentioned GFABASIC command.
It also shares the same limitations like using LINEA and being slow.

*Moderator note* Splitted the evolving discussion as it was offtopic, you can find it in the Coding > C section of the forum.
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby simonsunnyboy » Thu Aug 11, 2011 5:08 pm

Another helper routine released.

This time a tile drawing routing for game backgrounds. This routine copies tiles onto screen. The routines are optimized for ST-LOW and tiles can only be blitted in 16pixel columns, at 0,16,32, etc coordinates.

Supported are tile widths of 16, 32, 48 and 64 pixels with any amount of scanlines. Blits are always for 4 planes but the code can be rewritten to draw less planes if desired. (M68K knowledge required.)
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby simonsunnyboy » Sun May 27, 2012 1:22 pm

Hello all,

I have finished my STE Playfield and splitscreen access routines and hereby open it up for public usage.

This routine is for STE and F030 only. It allows the user to configure a splitscreen display. Each display part has its own 16 color palette and can be scrolled with the STE hardware scrolling parameters.

The scanline at which the split will occur is freely configurable.

The Source code is included in the package. Simply link the assembly library file and use the supplied C header from AHCC and Pure C.

Special thanks to Klapauzius and Nicolas Pomarede for helping with the Timer B stabilizer routine!

Get it from the Paradize website, http://paradize.atari.org/ and the AHCC section.

It should be usable from AHCC and Pure C, and ofcourse from plain M68K aswell. With some rewrites it should be possible to include it from GFA aswell.

Regards,
Simon Sunnyboy / Paradize
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany

Re: Support for AHCC

Postby simonsunnyboy » Mon Nov 11, 2013 4:26 pm

I found a bug in my routines for the Falcon 320x240 TrueColor mode. The variables are accessed with PC-relative addressing but are placed in the BSS section.
If the DATA or BSS section of your program grow too large, the code won't like anymore. I'll try to do a bugfix soon.
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org
User avatar
simonsunnyboy
Moderator
Moderator
 
Posts: 4348
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany


Return to Paradize forum

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests