English Amiga Board


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

 
 
Thread Tools
Old 12 August 2018, 13:21   #21
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 1,842
Quote:
Originally Posted by carrion View Post
@earok
thanks for your work. I will use it with VSCode on my Mac It even kinda works now but I still have one issue. After the SuperTED start I can't get rid of the welcome splash window with OKEE DOKEE buton and thus the TED can't load the file. Is there a way to get rid of this window automatically so the file loads?

I also don't quite understand how to deal with ascii files and the .xtra config files so I don't have to change number of SHAPES for example in the compiler config.
Cheers! Thanks for confirming it works on Mac.

Re: getting rid of window, I want to know that myself.

Re; ASCII thing, you just need to do something like this

Code:
Copy asciisource.bb2 tokensource.bb2
Blitz2 tokensource.bb2
Asciisource is what you edit and save in visual studio code. Since you're not overwriting the token source xtra file when you copy, you can save that to keep your Max shapes settings etc.
earok is offline  
Old 12 August 2018, 13:26   #22
earok
Registered User

 
Join Date: Dec 2013
Location: Auckland
Posts: 1,842
Slightly off topic, but if the superted source is available somewhere (or at least the ted source), presumably we can remove the acknowledgement window and add more features for auto build etc? Can anyone confirm or deny?
earok is offline  
Old 12 August 2018, 13:41   #23
carrion
Registered User

carrion's Avatar
 
Join Date: Dec 2016
Location: Warsaw area
Posts: 62
@earok
thanks for quick reply.
The thing with splash window is that I can't
go any further and I can't close it either. On WB screen I have other requester saying:

I'm attempting to close my screen.
Please close all visitors windows
RETRY

but the thing is I can't close any requester or window... hm
carrion is offline  
Old 12 August 2018, 16:53   #24
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,672
Quote:
Originally Posted by earok View Post
However, some odd quirks - when I quit the game, I still have the "Okee Dokee" and "!PANIC!" windows open, and I can't seem to dismiss them?
Did you end your program with "End"?

Quote:
Originally Posted by earok View Post
Slightly off topic, but if the superted source is available somewhere (or at least the ted source), presumably we can remove the acknowledgement window and add more features for auto build etc? Can anyone confirm or deny?
There is source for SuperTED here: http://www.david-mcminn.co.uk/blitz-2000/archives/bss/

However, I don't know if it's complete enough to be compiled.
idrougge is offline  
Old 13 August 2018, 11:12   #25
MickGyver
Registered User

MickGyver's Avatar
 
Join Date: Oct 2008
Location: Too close to the North Pole
Posts: 319
Quote:
Originally Posted by earok View Post
Hey, that's pretty cool. So, I've got my execute script to include

Code:
run blitz2:blitz2
SYS:REXXC/waitForPort TED_REXX1
SYS:REXXC/rx "address TED_REXX1; SHOWSCREEN"
SYS:REXXC/rx "address TED_REXX1; ACTIVATE"
SYS:REXXC/rx "address TED_REXX1; LOADNEW 'build.bb'"
SYS:REXXC/rx "address TED_REXX1; COMPILE 'build.bb'"
Which runs the game! So I can test the game with the CTRL+SHIFT+B shortcut combination with visual studio code. (To be clear, "Blitz2" here is superted, not ted)

However, some odd quirks - when I quit the game, I still have the "Okee Dokee" and "!PANIC!" windows open, and I can't seem to dismiss them?
The way I have things setup is I only have one configuration in WinUAE. I run WinUAE using that config and then run SuperTED manually once (this could be automated but I don't know how to remove the nag screen of TED either so). Once SuperTED is running I can leave it running and just load/reload and compile bb2 files via a batch file/arexx script by pressing CTRL+F5 in Notepad++. The batch file will copy the bb2 file, load/compile the copy via an arexx script and set focus to WinUAE.

To be able to run Arexx scripts in WinUAE from Windows (no OSX version) I made a tool. It is found in this package: http://www.gamephase.net/files/linke...-tools-v10.zip

Everything is explained in detail under "Setting up automation" in this pdf: http://gamephase.net/files/linked/BB...HowTo-v1.3.pdf

This method should otherwise work according to your instructions on setting up the build shortcut in VS Code, the things that differ are how things are set up in WinUAE etc.
MickGyver 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
Amiga Assembly extension for Visual Studio Code prb28 Coders. Asm / Hardware 35 02 October 2018 00:17
Blitz Basic 2 source code Retro1234 Coders. Blitz Basic 8 25 May 2016 06:07
very basic C/ASM/Visual Studio hand holding Sephnroth Coders. C/C++ 2 08 March 2016 21:15
Somebody teach me to code in Blitz Basic, please!!! Toni Galvez Coders. Blitz Basic 18 21 May 2015 01:03
3D code and/or internet code for Blitz Basic 2.1 EdzUp Retrogaming General Discussion 0 10 February 2002 12:40

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 03:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06416 seconds with 14 queries