English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 29 August 2022, 06:52   #1
earok
Registered User
 
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
Minor update to Blitz 2 (no splash screen + slightly faster code)

If you're still using Blitz2, I've done a really small update for the Blitz2 executable alone. Source and binary is on github

https://github.com/earok/chocolate_blitzbasic2

* No more splash screen
* MOVE.L opcodes are swapped out with MOVEQ.s where possible for a slightly smaller and faster output executable (there might be other places where this optimization needs to be done)


I was asked to look into making it so you can compile from the command line as part of a batch process, I haven't quite figured that out yet.
earok is offline  
Old 29 August 2022, 14:37   #2
MickGyver
Registered User
 
MickGyver's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 643
Cool, thanks for that!
MickGyver is offline  
Old 31 August 2022, 11:25   #3
earok
Registered User
 
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
You're welcome MickGyver

---

New minor update to chocolate blitzbasic2 that was suggested on GitHub, word and byte operations use the same MoveQ fix that long operations did (I did a quick test and it reduced the size of the Scorpion Engine exe by another 2%)
earok is offline  
Old 31 August 2022, 17:06   #4
Honitos
Registered User
 
Honitos's Avatar
 
Join Date: Nov 2019
Location: Celle / Germany
Posts: 145
Cool. You did it already?
I am going to implement it in AB3 aswell!

Last edited by Honitos; 31 August 2022 at 21:14.
Honitos is offline  
Old 31 August 2022, 21:09   #5
aNdy/AL/COS
Registered User
 
aNdy/AL/COS's Avatar
 
Join Date: Jan 2022
Location: Wales
Posts: 91
Thanks! Will take a look!
aNdy/AL/COS is offline  
Old 01 September 2022, 06:40   #6
earok
Registered User
 
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
@honitos Excellent!

Do feel free to make any other suggestions for possible improvements!

You're welcome @andy !
earok is offline  
Old 01 September 2022, 14:23   #7
earok
Registered User
 
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
Did one more update - JSRs to local functions are replaced by BSR.w and BSR.s where applicable.

I didn't find that there was much of an improvement, but it did shrink Scorpion Engine by another 1%
earok is offline  
Old 26 October 2022, 23:26   #8
earok
Registered User
 
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
New update to Chocolate Blitz Basic:

https://github.com/earok/chocolate_blitzbasic2

* Includes Chocolate TED (no longer just the compiler)
* New menu option to compile and quit (Right Amiga+/), which does:
- Compiles to the last saved executable path (you'll need to save your xtra file first)
- Ensures that debug mode is turned off when you compile (no need to manually turn this off if you have debugger turned on by default)
- Quits to workbench after the compile is complete (which should be handy if you've got a scripted build process, eg using third party tools to crunch or compress afterwards)

Next step might be looking at making it so that the new menu command can be triggered from the command line, so that compilation can be fully automated.

(Edit: just checked in a fix, I accidentally left in some test code that broke the original save function, oops)

Last edited by earok; 28 October 2022 at 11:58.
earok is offline  
Old 28 November 2022, 10:46   #9
peceha
Registered User
 
peceha's Avatar
 
Join Date: Dec 2017
Location: Poland
Age: 47
Posts: 282
Hi earok,

I downloaded and replaced 2 files: blitz+ted.
But whenever I choose "small fonts" from menu>defaults and click OK I get GURU ending with ..08

Snoopdos shows nothing at all.
Is there anything else needed ?

Thanks
peceha is offline  
Old 11 December 2022, 03:04   #10
earok
Registered User
 
Join Date: Dec 2013
Location: Auckland
Posts: 3,539
Apologies - I didn't actually know about the small fonts option before - but it doesn't seem to crash at my end when I try it, so I'm not sure what can be done to fix it.
earok is offline  
Old 15 December 2022, 12:56   #11
Szafirek
Registered User
 
Join Date: Jun 2022
Location: Poland
Posts: 1
Hi

Can you add in TED autosave source before compiling?
Szafirek is offline  
Old 15 December 2022, 13:11   #12
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
That's an option in PED from AmiBlitz 3, might be nice as an option in older releases too... You need to be careful with it though - if your source compiles quickly enough and crashes, it can corrupt the save operation and you end up with no source code instead of old source code.
Daedalus is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Host side - splash Screen Azvareth request.UAE Wishlist 3 22 July 2022 05:40
WHDLoad splash screen issue Retroplay project.WHDLoad 13 04 September 2020 22:19
Hide AmiTCP Splash Screen eva support.Apps 0 29 January 2015 00:56
registered name on splash screen SexyWayne project.WHDLoad 33 04 October 2007 20:47
Splash screen in WHDLoad spannernick project.WHDLoad 5 04 August 2007 00:33

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:39.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07982 seconds with 13 queries