Jump to content

tebe

Members
  • Posts

    1,224
  • Joined

  • Last visited

3 Followers

Profile Information

  • Gender
    Male
  • Location
    Poland
  • Interests
    http://atariage.com/forums/topic/34916-graph2fnt/

Recent Profile Visitors

15,418 profile views

tebe's Achievements

Stargunner

Stargunner (7/9)

1.5k

Reputation

  1. example of using the $eval directive var // Generate the 2D array used for the circles. Experiment! sqr : array of byte = [ {$eval DWIDTH,200,"255/(sqrt(power(:1-DWIDTH/2.5,2)*4+power(:2-HEI/2-20,2))+5)*32.0" } ]; data: array of byte = [ {$bin2csv smooth_data.bin} ]; tab40 : array of word = [ {$eval 200, ":1*DWIDTH"} ]; sinx: array of byte = [ {$eval 256, "(sin(:1/256.0*PI*2.0)*48+63)"} ]; grim.obx grim_source.7z
  2. new directive $EVAL functions supported: PI, RND, SQRT(x), SQR(x), ARCTAN2(x,y), COS(x), SIN(x), TAN(x), EXP(x), LN(x), ABS(x), INT(x), POWER(x,y), ARCTAN(x) {$eval par1[,par2],"expression"} uses crt; const width = 40; height = 30; scr = $bc40; var tab: array of word = [ {$eval HEIGHT, "scr + :1 * WIDTH" } ]; v: word; begin for v in tab do writeln(v); end.
  3. mads.exe filename.a65 -x -i:<MadPascalPath>\base switch -x is important
  4. https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8/graph/polygon https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/graph/polygon/polygon.pas polygon.obx
  5. unit PP (Power Packer decompressor) example https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8/compression/pp PowerPacker (gcc main.c) https://github.com/lab313ru/powerpacker_src
  6. https://www.freepascal.org/docs-html/ref/refsu58.html#x168-19200013.2.4 It is not allowed to change (i. e. assign a value to) the value of a loop variable inside the loop.
  7. https://www.freepascal.org/docs-html/rtl/system/hi.html https://www.freepascal.org/docs-html/rtl/system/index-8.html you can always check the operation by compiling using FPC, MP should return the same result
  8. neo6502: PacMad, Tetris https://gitlab.com/bocianu/neo-pacmad https://gitlab.com/bocianu/neo-tetris X16: Old Mansion https://github.com/MADRAFi/OldMansion
  9. https://marketplace.visualstudio.com/items?itemName=chunkypixel.atari-dev-studio
  10. https://github.com/tebe6502/Mad-Assembler/blob/master/examples/input_string.asm without OS
  11. congratulations on correct understanding, and yes, this threads is about Giana Sisters WIP, implicit in WIP-games
×
×
  • Create New...