Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
As BorIDE progresses...
#16
Quote:One issue - I tried collapsing one (the last one in the dim section) and the whole program disappeared. I thought it would be just the dim statement.

Here it works as expected. I cannot reproduce the bug.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#17
About BasIN Source code: It is included in the BasIn Package. It can be downloaded from here: http://sites.google.com/site/ulaplus/hom...-and-basin
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#18
@ <!-- m --><a class="postlink" href="http://www.speccy.org/foro/viewtopic.php?f=6&t=492&start=585#p24080">http://www.speccy.org/foro/viewtopic.ph ... 585#p24080</a><!-- m -->
Sorry oblo, it is impossible at moment to register as new user at speccy.org, so I cannot answer you directly.
I have a new time-consuming job, but still working on BorIDE, this project is not abandoned. There are much new improvments already done for the next version, not only bugfixes. This project is not dead.
The "Chessboard Attack" was written with the current version. The missing stuff "Interrupt handler" and "Graphics designer" are currently ongoing project. Maybe you noticed that "Chessboard Attack" has Sound in Interrupt. I used my own tool which I created in Sinclair BASIC to make Interrupt table, vectors and handler code, so the code can be almost directly taken over.
The structure of the program may change, so it will be easier to use. I already made some improvement in this direction.
Because I use it myself, I put a fistful of heart into this program, so it grows constantly. I do not want to release the current version yet because there are still problems when editing multiple source codes at same time. The preview was released just to show what I'm currently working on, and get some feedback.

Edit: Yes, I tried to contact the forum admin of speccy.org to register me, but the mail bumped back (no such user).
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#19
Hi

Maybe this question is answered but... how I print the default graphics? The ones that print with 1,2,3,etc... using \1 or \2 doesn't work.

Cheers
Reply
#20
Read here (The Wiki): https://zxbasic.readthedocs.io/en/latest...characters

UDG "A" is "\A", "B" is "\B" and so on.
ZX Basic uses the same codification BASIN does.  :wink:
Reply
#21
I knew I read it somewhere not far from here Wink Thanks!

Cheers
Reply
#22
Because of inclusion of binary manager which will also support 128K and maybe External (level) files, I need to write low level creation of BASIC lines to handle this. I cannot rely anymore on TAP file created by compiler but always create a binary file which will be loaded again by the IDE and linked with binaries. This also makes possible to add a memory map viewer which can be displayed after compilation.
What will be possible with it?
It will allow to link files from other TAPs (and maybe MGT images, sorry, no +3 support possible)
It will allow that the Interrupt manager can add interrupts
Creating 128K games will be possible by storing data in RAM banks (not the RAM-Disc)
Store fonts directly in memory
Later also the Painter will be able to store graphics blocks and Maps in memory too.
All the data including other compiled sourcs will maybe be stored in the TAP as additional load. I plan to allow up to 65536 loads possible (Imagine such a game for DivIDE).

Sorry, I was distracted past weeks by the death of my grandmother and the anti-ACTA demonstrations (even at that low temperatures I'm sweating under my Guy Fawkes mask...). Also my Cousin visited me with his wife and small kids who urgently wanted to play some games on my PC. I want to let you know, that I'm still working hard on the BorIDE.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#23
Still not included binary manager fully, not all help written, painter cannot save yet, but fixed many bugs in the important editor part and added some feartures. Anyway, preview release 4.02 is downloadable from my home page. Link in my signature.
Sorry, not all done yet, as I was very busy, but this version saves now in correct directorys and can be used every day. I have the same version on my notebook where I wrote all my hits Wink.
Have fun!
P.S.
Do not forget that the new loader sets all ink, paper and border to zero as normal loaders do, so you must start you program with setting correct colours.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#24
does it save the source code to .bas on every compile?


also including local .bas files doesnt work,
you must be changing the 'current directory' within BorIDE
Reply
#25
You can use the .py included with the compiler to generate BASIC binaries. The compiler uses it generate the BASIC loader.
Reply
#26
slenkar Wrote:does it save the source code to .bas on every compile?


also including local .bas files doesnt work,
you must be changing the 'current directory' within BorIDE
It uses BOR extension, because it generates additional configuration file which BAS files do not have, but you can rename BOR to BAS. And yes, it saves the file before compilation. There will be more files generated later: Binary manager chunks, binary manager configuration, and a file which define which additional files belong to a project (fonts, binaries, graphics,...).
There are multiple directorys used: Temporary directory for currently compiled project, Source directory for sources of a project, and output directory for the compiled project. Especialy with new project and importing BAS files you must define the source directory and output file. Once defined, this is always saved in configuration file of the source and make the multitab codind easy. You had to define the source directory for new projects anyway.
With "including" do you mean "Loading" or "#include Filename"?

boriel Wrote:You can use the .py included with the compiler to generate BASIC binaries. The compiler uses it generate the BASIC loader.
I know that, but I have good reasons to make a own BASIC loader: As there will be a binary manager (interrups, memory banks and such stuff) they must be exported to CODE files, and loaded. The Loader generated by ZXBC cannot load further code files nor can it switch memory banks.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#27
#include "filename"

Ill take a look at the directory settings thanks
Reply
#28
slenkar Wrote:#include "filename"

Ill take a look at the directory settings thanks
Tested and it works as expected:
Code:
#Include "C:\LCD_ZX_Games\_Library\Graphics\WindowScroll.bor"
paper 7:border 7:bright 0:cls

print at 20,0;"Test"
pause 0
BLWindowScrollUp(0,10,32,14)

I'm using Britlions window scroll routine.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#29
I tried an absolute path and a local path but none worked, can I send you the files to see if you can replicate the error?
Reply
#30
slenkar Wrote:I tried an absolute path and a local path but none worked, can I send you the files to see if you can replicate the error?
Yes, you can.
Which OS do you use?
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)