20 June 2019, 18:27 | #1 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
New PC Project: Blitz Source Converter
Hi Guys,
I am going to take a short break from my SwosEditor in light of the Swos2020 release.. so I have decided I might look into writing a blitz source converter and maybe even a PC editor (pipedream haha). I have not started anything yet, but I hope to have a GUI and hopefully using QT make it cross platform. The purpose of this thread.. Ideas and suggestions to start, and also as much info about the blitz library system as possible. I will chuck a mock gui together shortly Edit: I am aware of this >> https://github.com/grovdata/pyblitz2 but it hasn't been updated in a while Edit2: I am also considering an Amiga version |
20 June 2019, 18:29 | #2 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Post for suggestions and ideas:
Last edited by BippyM; 06 April 2020 at 01:16. |
20 June 2019, 19:08 | #3 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Post for blitz library structure and info
|
25 June 2019, 19:45 | #4 |
Long time Amiga Owner
Join Date: Jun 2017
Location: Uxbridge Canada
Age: 57
Posts: 182
|
Just want to say you're awesome!
RC |
25 June 2019, 21:11 | #5 |
Registered User
Join Date: Jan 2009
Location: Barcelona / Spain
Posts: 439
|
Great idea, if you need some people to test try count with me
|
22 November 2019, 21:38 | #6 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Today I have done more investigation to the blitz library structure, and have managed to work out the best way to get the library commands out.
Next I am going to document how the bb2 files store info and tokenisation. Maybe it's time to start some coding! |
23 November 2019, 15:12 | #7 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,451
|
Great idea, I’ll follow the progress and enjoy seeing where this goes.
|
27 November 2019, 10:27 | #8 | |
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Quote:
|
|
22 December 2019, 11:06 | #9 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
I have made a little bit of progress with the development here
I have started programming, and deflibs/acidlibs files are recognised, libraries identified and what not. Next is the routine to identify each library command, and the associated help text. Once the library identification is working fully, I will then look at source code recognition. |
29 December 2019, 19:24 | #10 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
A quick update.
The program now recognises deflibs/acidlibs and library object files. Here is a video demonstrating the loading of a deflibs file. It will separate each library, and get the commands, along with info like library number, and offset within the file. The layout currently is for demonstartion purposes while I figure out the full direction I want to take this. Right now I am thinking of having a source window for the bb2 code, with a lister giving each library etc. I am also thinking of allowing the prog to scan through your blitz libs files (.obj) and then match each deflibs library and get the library name etc.. [ Show youtube player ] Any suggestions for where I can take this is definitely welcome |
02 January 2020, 13:33 | #11 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
I have updated the Blitz Code Converter. It now has a library settings window (Still very early) and shows the loading of the blitz libraries.
[ Show youtube player ] |
28 March 2020, 17:57 | #12 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Here is a more updated preview of the BLitz Basic code viewer/editor and converter for PC.
There is a lot of work still to do, but this can now load in BB2 tokenised code I will add an export function next, then it will have an actual use. Currently code can be copied and pasted. [ Show youtube player ] |
06 April 2020, 01:34 | #13 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
There was a bug in my library analysis code, which was a result of many blitz libraries having dummy tokens, and sub tokens. This are not easily visible, and serve no purpose from an end user perspective. I had to go back and completely rewrite the library analysis code. I did this by converting the token reading routine from the ab3libmanager to C++ and implementing. After speaking to Sven Dröge he has confirmed I can use any code from AB3, so hopefully this will speed up development.
I fully understand the blitz library, and how tokenisation works now and can comfortably load in most source. I have updated post 2 with my current todo list. I am thinking about making this into a complete Blitz development IDE, and if I am able to compile amiga-side using winuae. I am still open to feature suggestions. Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OSSC (Open Source Scan Converter) with an Amiga | jarp | support.Hardware | 508 | 28 April 2022 07:58 |
Blitz Basic 2 source code | Retro1234 | Coders. Blitz Basic | 8 | 25 May 2016 05:07 |
Source Code for finished games/demos in Blitz? | diablothe2nd | Coders. Blitz Basic | 15 | 14 November 2012 22:04 |
Graphics converter - RAW to source | pmc | request.Apps | 19 | 18 May 2007 22:42 |
AWeb Open Source project update | Paul | News | 0 | 22 September 2004 10:23 |
|
|