Mad Pascal for C+4 and mini Tron+4 game Hi all Some time ago one of the users (Zbyti) on our polish c64scene.pl forum started a thread about programming with Mad Pascal for C+4. The result is a small sandbox to play with opponents AI and a small little game. Mad Pascal is popular on Atari 8bit platform and for few weeks now it supports C64 and C+4. The Tron+4 mini game is a test project of using it, that could turn into a proper release - I started sketching some title screen for it
You can see the results so far in a small video as always on c64portal.pl links to the forum thread, GitHub, examples etc are in the thread swell.
Re: Mad Pascal for C+4 and mini Tron+4 game Smart stuff, it's a sort of brand new example for a multiformat library, just as seen in the productions of Fabrizio Caruso and Marco Spedaletti...but with boosted graphics by Carrion! Yes, this Atari 8bit classic deserves a proper release, as you said...
Re: Mad Pascal for C+4 and mini Tron+4 game Pascal is my favourite langauge. I made my diploma work also in turbo Pascal, despite my teacher pushed C++. So it is great news
G-Pascal is also a nice release (I have the full documentation of the C64 version, and all the later discs, would be nice to add them). Unfortunately it was ALMOST impossible to create a self-runnable PRG out of that Compiler. (there is a later disc contains a self-runnable code, but it also need conversion). What a shame. Did you know, that G-Pascal was also converted by a Polish scene member? "Adapted by Andrzej Kruk, Poland."
Re: Mad Pascal for C+4 and mini Tron+4 game @Luca proper release will be with @Carrion gfx and with the ability to choose the level of difficulty (slow/fast), maybe I add some other little things?
Re: Mad Pascal for C+4 and mini Tron+4 game as zbyti said I offered small and simple logo sketched in 5 minutes in photoshop and then converted calling it game gfx is exaggeration
btw: I made a test and exomized the .prg file and it's like 2 kb... adding a title bitmap will still make it a 16kb release, which I think is a nice thing to do
@luca we will let you know when it's ready to do a news about on the fan page
Re: Mad Pascal for C+4 and mini Tron+4 game Looking good!
Curious, why is the program file named "siege" when the title screen says "Tron +4"? (BTW, if you guys still haven't made up your mind about the final name of your release, perhaps consider that there's already a game called Siege for Plus/4 )
Re: Mad Pascal for C+4 and mini Tron+4 game the gameplay is really fast and fluid. I could not win any of the matches (LOL), though I had a feeling, that some of my keypresses not taken at once. (Maybe it is only my wireless keyboard and the battery)
I am just reading the functions and comparing it to my Turbo Pascal book (printed in the last century )
Re: Mad Pascal for C+4 and mini Tron+4 game zbyti err...I was doing the entry for the game here, hit by a doubt: is it "Tron+4" or what it looks to actually be "Tron +4" with the space between?
Also, we could add it right now and then put up a news in the main page when the enhanced version will complete the global release ;)
Re: Mad Pascal for C+4 and mini Tron+4 game @zbyti actually seeing this video confirmed, that it should be my keyboard, or I next time I should try it before the two beers
Re: Mad Pascal for C+4 and mini Tron+4 game I loaded the music and three beers (7.2% each) but I could not win. Too fast foir my reflexes Still a very good experience
Re: Mad Pascal for C+4 and mini Tron+4 game Mad Pascal for C+4 is nice. It's a cross-compiler. Back in 1980s, I was trying to get a C compiler or a Pascal compiler/interpreter. As of today, there are two Pascal instances available for C+4:
This is sad, since the C264 series were targeted as educational computers. When I look at the C64 scene, there is such a variety of high-level programming languages available. Tongue-in-cheek...
C, LISP, Pascal, FORTRAN and what have you. These compilers/interpreters could have been ported easily, there was no need for sprites and musical libraries. The KERNAL routines and CPU are the same of course.
I encourage you to try (since we have the 21st) cross-compiler like Mad Pascal. No need to write in 40x25 screen anymore
Just as KickC Mad Pascal produces very optimized ASM code, it has a software stack which provides recursion but does not use it "for everything" like CC65.
The overhead in comparison to the handcrafted optimized ASM code is on average 30%, often less, rarely more.
Re: Mad Pascal for C+4 and mini Tron+4 game @zbyti
It's tempting. Back in 1980s, I was after computer graphics, I studied the subject at the university. The library I was trying to implement on C+4 was "Single Raster Graphics Package", but gave up after several weeks of programming in Hypra Assembler.
Re: Mad Pascal for C+4 and mini Tron+4 game @zbyti Thank you ;-) I also changed my batteries :-)
@seff Great article. It is really interesting topic how to draw various style lines, not to mention the filled primitives with bitmap pattern. (the interaction was also well described). Nice work! I was always interested on the gfx (especially ray tracing, yummy), but I was always short on programming skills. (finally I worked on fractals and very first fully mouse driven fractal generator in T.Pascal with a self made GUI).
In fact the slow BASIC routines were always a kind of show-stopper on the Commodores with more advanced basic. Simons Basic from a 16 years old made faster gfx than the official built-in basic (and in fact later officially offered by C= for C64 or cartridge in 1983). I really liked the C65 BASIC demo too, that speed with filled primitives was pretty nice
The holy grail on 264 series is the much faster and bug free bitmap movement with XOR (Canvas?). With that a kind of software sprite could be realized. The current GSHAPE and SSHAPE are little limited. You cannot change the original color scheme it can handle only 4 colors in practice (because then it generates unnecessary attiribute clash, even if you move only a object drawn with Color 3, it also copies the unused pixels attributes), pretty slow drawing, and have certain bugs. You cannot load in predefined string to move (like a mouse cursor, or a sprite in C128).
Is there a way that the original library source code still available?
Re: Mad Pascal for C+4 and mini Tron+4 game Delicious stuff, nice coop! Of course, this is a ̶3̶2̶k̶B̶ ̶ 64kB release, whereas the previous version runs on a plain 16kB system.
This looks like it (hopefully). Last time I cast my mind on it was in 1995/1996. I would compile it on SGI Iris/Indy back then. https://github.com/theandrew168/srgp I still have the book, with all examples, descriptions, etc.