tebe Posted April 24, 2022 Author Share Posted April 24, 2022 (edited) new UNIT, SHANTI (Shanti Sprites Multiplexer) https://github.com/tebe6502/Mad-Pascal/blob/master/lib/shanti.pas https://github.com/tebe6502/Mad-Pascal/blob/master/lib/shanti_engine.obx example https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8/sprite test_mux.obx max 16 sprites, 8x16, 3 colors + background Edited April 24, 2022 by tebe 5 3 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5047222 Share on other sites More sharing options...
Gury Posted April 25, 2022 Share Posted April 25, 2022 That's crazy, wonderful stuff ? Thank you for new astonishing library, I will play with it. Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5047597 Share on other sites More sharing options...
tebe Posted April 26, 2022 Author Share Posted April 26, 2022 (edited) Shanti example update, https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8/sprite new tool, MIC2SHP, create listing ASM with shapes, assemble with MadAssembler mic2shp filename.mic shape_name procedure shape_name(a: byte); external; {$link shape_name.obx} begin shape_name(index); end. MIC with shapes examples https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/sprite/assets/face.mic https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/sprite/assets/monster.mic https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/sprite/assets/thing.mic Edited May 23, 2022 by tebe 4 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5048657 Share on other sites More sharing options...
tebe Posted May 23, 2022 Author Share Posted May 23, 2022 https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/graph_vbxe/vbxeTextCustomPalette.pas vbxeTextCustomPalette.obx vbxeTextCustomPalette.pas 1 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5062653 Share on other sites More sharing options...
+Stephen Posted May 23, 2022 Share Posted May 23, 2022 1 hour ago, tebe said: https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/graph_vbxe/vbxeTextCustomPalette.pas vbxeTextCustomPalette.obx 3.28 kB · 0 downloads vbxeTextCustomPalette.pas 2.41 kB · 0 downloads Awesome! The more code the better, hopefully more people can start experimenting with VBXE. I'm doing all of my stuff in 6502 now, forcing myself to learn, but that's certainly not for everyone, and I do miss the speed and ease of writing some test stubs in BASIC. 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5062701 Share on other sites More sharing options...
Gury Posted June 2, 2022 Share Posted June 2, 2022 Which version of MADS is most proper for compiling programs with current version of Mad Pascal (1.6.6)? Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5067061 Share on other sites More sharing options...
tebe Posted June 2, 2022 Author Share Posted June 2, 2022 https://github.com/tebe6502/Mad-Assembler/releases/tag/2.1.5 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5067073 Share on other sites More sharing options...
Atlan_Roland Posted June 20, 2022 Share Posted June 20, 2022 Hi Tebe, FYI: i often test with your current github mp.exe builds, but build 2022/05/03 seems to be the last one that works with my project. All compile attempts with the (larger parts of the project) seem to hang the compiler in some infinite loop; only a force kill will stop the mp.exe process. If it helps you, attached an example. "mp_compile_test.bat" contains my parameters. mp_test_compiler_hangs.zip Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5076419 Share on other sites More sharing options...
tebe Posted June 26, 2022 Author Share Posted June 26, 2022 On 6/20/2022 at 9:51 PM, Atlan_Roland said: Hi Tebe, FYI: i often test with your current github mp.exe builds, but build 2022/05/03 seems to be the last one that works with my project. All compile attempts with the (larger parts of the project) seem to hang the compiler in some infinite loop; only a force kill will stop the mp.exe process. If it helps you, attached an example. "mp_compile_test.bat" contains my parameters. mp_test_compiler_hangs.zip 62.17 kB · 4 downloads fixed master branch https://github.com/tebe6502/Mad-Pascal 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5079402 Share on other sites More sharing options...
tebe Posted June 27, 2022 Author Share Posted June 27, 2022 (edited) 2x2 sinus scroll sinusScroll.xex Edited June 27, 2022 by tebe 3 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5079524 Share on other sites More sharing options...
zbyti Posted July 5, 2022 Share Posted July 5, 2022 simple as that uses crt, aplib, rmt; const screen = $0600; DL : array[0..8] of byte = ( $70, $70, $70, $42, lo(screen), hi(screen), $41, lo(word(@DL)), hi(word(@DL)) ); SIZE = 3; modules : array[0..SIZE] of string[16] = ( 'D:AXELF.APL', 'D:BEETLE.APL', 'D:SUNDAY.APL', 'D:VANTAGE.APL' ); RMT_PLAYER = $9400; RMT_MODUL = $9800; RMT_MUSIC = $9000; var msx : TRMT; i : byte = 0; SAVMSC : word absolute $58; DLIST : word absolute $230; begin DLIST := word(@DL); SAVMSC := screen; msx.player := pointer(RMT_PLAYER); msx.modul := pointer(RMT_MODUL); repeat unapl(modules[i], pointer(RMT_MUSIC)); msx.init(0); FillChar(pointer(screen), 40, 0); GotoXY(0,0); write(modules[i]); repeat pause; msx.play; until keypressed; readkey; msx.stop; if i < SIZE then inc(i) else i := 0; until false; end. disk.atr 3 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5083919 Share on other sites More sharing options...
Ecernosoft Posted July 30, 2022 Share Posted July 30, 2022 On 7/28/2015 at 4:24 PM, funkheld said: hello tebe. what this: ??? fpc -Mtp filename.pas greeting I think that should be a .bas file. Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5097222 Share on other sites More sharing options...
TGB1718 Posted July 31, 2022 Share Posted July 31, 2022 @Ecernosoft this thread is about MAD-PASCAL so it would have a .pas extension Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5097452 Share on other sites More sharing options...
tebe Posted July 31, 2022 Author Share Posted July 31, 2022 23 hours ago, Ecernosoft said: I think that should be a .bas file. https://www.freepascal.org/ Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5097776 Share on other sites More sharing options...
zbyti Posted August 1, 2022 Share Posted August 1, 2022 On 7/31/2022 at 11:56 AM, TGB1718 said: @Ecernosoft this thread is about MAD-PASCAL so it would have a .pas extension Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5098135 Share on other sites More sharing options...
tebe Posted August 15, 2022 Author Share Posted August 15, 2022 MP 1.6.6 https://github.com/tebe6502/Mad-Pascal/releases 5 2 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5105730 Share on other sites More sharing options...
bocianu Posted August 15, 2022 Share Posted August 15, 2022 long awaited volatile and inline ! Thanks @tebe. You're breathtaking ;) Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5105771 Share on other sites More sharing options...
Atlan_Roland Posted August 15, 2022 Share Posted August 15, 2022 (edited) Thank you very much for Mad Pascal @tebe! I love working with it 😃 Edited August 15, 2022 by Atlan_Roland Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5105789 Share on other sites More sharing options...
Gury Posted August 15, 2022 Share Posted August 15, 2022 Great! GReat! GREAT! 💪👍 Thank you, Tebe, for Mad Pascal, the best language for Atari home computers. I will look at new features and other stuff. Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5105864 Share on other sites More sharing options...
tebe Posted August 20, 2022 Author Share Posted August 20, 2022 (edited) https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8/sound/mod MOD Player for 65816 fixed (Rapidus) - left / right channel - IRQ synchro fixed https://github.com/tebe6502/Mad-Pascal/blob/master/samples/a8/sound/mod/mod.atr MODPLAY5.OBX SSCHAN.MOD Edited August 20, 2022 by tebe 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5108899 Share on other sites More sharing options...
Gury Posted August 21, 2022 Share Posted August 21, 2022 Just for curiosity... I have no plan to play with other supported systems, but I wanted to test sample program, which couldn't compile. I must have done something wrong: d:\Atari\Appl\mpex\bin>mp ..\samples\c4plus\plasma.pas -ipath:..\lib -target:c4p Output: Mad Pascal Compiler version 1.6.6 [2022/07/23] for 6502 Compiling ..\samples\c4plus\plasma.pas ..\samples\c4plus\plasma.pas (101,15) Error: Incompatible types: got "Array[0..255] Of BYTE" expected "POINTER" Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5109372 Share on other sites More sharing options...
zbyti Posted August 21, 2022 Share Posted August 21, 2022 2 hours ago, Gury said: Just for curiosity... I have no plan to play with other supported systems, but I wanted to test sample program, which couldn't compile. I must have done something wrong: d:\Atari\Appl\mpex\bin>mp ..\samples\c4plus\plasma.pas -ipath:..\lib -target:c4p Output: Mad Pascal Compiler version 1.6.6 [2022/07/23] for 6502 Compiling ..\samples\c4plus\plasma.pas ..\samples\c4plus\plasma.pas (101,15) Error: Incompatible types: got "Array[0..255] Of BYTE" expected "POINTER" the same here: zbyti@X201:~/Programs/MadPascal/samples/a8/demoeffects$ mp-build-a8 plasma_2.pas Mad Pascal Compiler version 1.6.6 [2022/08/21] for 6502 Compiling plasma_2.pas plasma_2.pas (96,14) Error: Incompatible types: got "Array[0..255] Of BYTE" expected "POINTER" Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5109474 Share on other sites More sharing options...
tebe Posted August 21, 2022 Author Share Posted August 21, 2022 https://github.com/tebe6502/Mad-Pascal/tree/master/samples/c4plus fixed Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5109476 Share on other sites More sharing options...
Gury Posted August 21, 2022 Share Posted August 21, 2022 What a service! 🔨😉 Hello zbyti, hello tebe 😃 1 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5109497 Share on other sites More sharing options...
tebe Posted August 30, 2022 Author Share Posted August 30, 2022 new MP (SizeOfResource) new unit SAPLZSS (unrolled SAP-R LZSS player, only 2 bytes on zero page 'sap_lzss.zp = $e0') https://github.com/tebe6502/Mad-Pascal/tree/master/samples/a8/sound/sap_lzss https://github.com/tebe6502/Mad-Pascal/tree/master/lib/saplzss_src 3 Quote Link to comment https://forums.atariage.com/topic/240919-mad-pascal/page/30/#findComment-5115214 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.