[News] BBC BASIC Beta Testing - 2009/03/06 r720
Moderator: benryves
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
[News] BBC BASIC Beta Testing - 2009/03/06 r720
After several months of work I'm happy to announce the first beta of BBC BASIC (Z80) for the TI-83+/TI-84+.
The host interface code is a fairly complex beast and I am sure that there are conditions where it does not act as it is supposed to, so I would greatly appreciate your help in finding any bugs, quirks, oddities or missing features.
Full documentation is included as is a (Windows-only) .NET 2.0 utility to edit BBC BASIC program files and a (Mono-compatible) utility to convert text files to BBC BASIC programs and vice-versa.
Have fun, and I welcome your suggestions and bug reports in this thread.
If you are having difficulty reading the help please see this post or browse the documentation online.
The host interface code is a fairly complex beast and I am sure that there are conditions where it does not act as it is supposed to, so I would greatly appreciate your help in finding any bugs, quirks, oddities or missing features.
Full documentation is included as is a (Windows-only) .NET 2.0 utility to edit BBC BASIC program files and a (Mono-compatible) utility to convert text files to BBC BASIC programs and vice-versa.
Have fun, and I welcome your suggestions and bug reports in this thread.
If you are having difficulty reading the help please see this post or browse the documentation online.
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
Re: Beta Testing - 2008/01/12
Great work ben! Im loading it on my calc now, ill play around and let you know how it goes .
Re: Beta Testing - 2008/01/12
Yay, I have already downloaded the file to my calculator; I'll check it out some tonight and during school tomorrow (and post about it when I get a chance).
Re: Beta Testing - 2008/01/12
I seem to be having an issue with the display when I use the insert mode of editing. To begin with, the last character is left as a solid black rectangle and I can move my cursor where ever I want to on the screen. I would recommend limiting where you can move the cursor; it was very confusing at first.
I'll post more feedback as I get a chance to use more of it, but I have to go do some homework now.
EDIT: actually, the moving part has nothing to do with insert, but the black rectangle does.
I'll post more feedback as I get a chance to use more of it, but I have to go do some homework now.
EDIT: actually, the moving part has nothing to do with insert, but the black rectangle does.
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Beta Testing - 2008/01/12
@b-flat - see the Copy Key Editing section under Editing in the documentation:
Note that the documentation references a Catalogue feature; due to memory problems saving the state of the console this feature is currently unavailable.
Tip: *FX 4,1 disables copy-key editing, allowing you to use GET to retrieve cursor keys. See the "OS Calls", "OSBYTE" section for more information.This version of BBC BASIC (Z80) supports a text editing feature known as copy key editing. It allows you to split the text editing cursor into two components, a write cursor and a read cursor. The read cursor, which takes the form of a blinking underscore, may be moved anywhere on the screen, and by pressing the Copy key the text characters underneath it are copied and written to the write cursor's position (which takes the form of a solid block). Both cursors then advance together.
You enter the copy key editing mode by pressing any of the four cursor keys (up, down, left or right). Position the read cursor with the cursor keys to the start of the text you wish to copy, then press the Copy key - marked X,T,Θ,n on the calculator keypad - to copy text to the write cursor. Copy key editing mode is exited when you press Enter to confirm the line.
Note that the documentation references a Catalogue feature; due to memory problems saving the state of the console this feature is currently unavailable.
Re: Beta Testing - 2008/01/12
Not just to complain but... the help file seems to not work...
Life Doesn't Make Sense
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
Re: Beta Testing - 2008/01/12
Strange, it works perfectly fine for me. (Not to mention that its very detailed).
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Beta Testing - 2008/01/12
If you downloaded BBC BASIC using IE or Firefox and extracted the help file using the built-in Windows unzipper right-click the .chm file, go into Properties then click the "Unblock" button under "Security". This is a rather irritating feature that was introduced in XP SP2. You should unblock the zip once downloaded, alternatively download it using Opera or use a third-party unzipping utility.
The documentation was generated from a MediaWiki database, so it should be possible to convert it to a "regular" HTML website as well as a CHM.
Sorry if this release feels a bit rough around the edges, I've been very busy over the last few weeks but thought it was worth releasing something sooner rather than later.
The documentation was generated from a MediaWiki database, so it should be possible to convert it to a "regular" HTML website as well as a CHM.
Sorry if this release feels a bit rough around the edges, I've been very busy over the last few weeks but thought it was worth releasing something sooner rather than later.
Re: Beta Testing - 2008/01/12
Thanks; I was having a similar problem with the documentation (which is quite nice, btw)!
However, I am having another issue, this time with the Sierpins program (the demo you included). When I run the program, it looks nothing like the picture in your screenshot of the program. It appears as though the columns (in groups of are being randomized with their vertical alignment. Additionally, that alignment is constantly changing, so it creates for some very interesting effects (one time when I exited using ON, the result was the partially completed triangle, but upside down). Am I doing something incorrect when I run the program (aka is there some setting I need to have set beforehand)? I'm using a TI-84+SE.
However, I am having another issue, this time with the Sierpins program (the demo you included). When I run the program, it looks nothing like the picture in your screenshot of the program. It appears as though the columns (in groups of are being randomized with their vertical alignment. Additionally, that alignment is constantly changing, so it creates for some very interesting effects (one time when I exited using ON, the result was the partially completed triangle, but upside down). Am I doing something incorrect when I run the program (aka is there some setting I need to have set beforehand)? I'm using a TI-84+SE.
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Beta Testing - 2008/01/12
I've noticed a few issues with formatting, it needs tidying up. In the meantime, I've hacked this together.b-flat wrote:Thanks; I was having a similar problem with the documentation (which is quite nice, btw)!
This could be a bug, either in the program or in the host interface. Could you please try exiting BBC BASIC, restarting it and running it before any other programs and seeing if that helps? Failing that, try entering the two following commands:However, I am having another issue, this time with the Sierpins program (the demo you included). When I run the program, it looks nothing like the picture in your screenshot of the program.
Code: Select all
*YAXIS UP
*GSCALE 4
Edit: The new download only changes the documentation, everything else is the same.
Re: Beta Testing - 2008/01/15
I've had problems with the sierpins program too. I've tried the two commands and it doesn't work. I'm also using a 84+SE. Also, cls doesn't seem to clear the bottom few rows of the screen.
Re: Beta Testing - 2008/01/15
Very nice app!! That's great!
The programs Sierpins bug in my calc too, after a moment, it reduces the screen at the right side... (I have a 84+, and the bug happens sometime with ASM)
There is an annoying bug: the files I write sometimes disappear... They are still in memory, but BBC is unable to find them.
And I can't do: SAVE "TESTBBC" if the program don't already exist, whereas the first I did it, it worked.
The programs Sierpins bug in my calc too, after a moment, it reduces the screen at the right side... (I have a 84+, and the bug happens sometime with ASM)
There is an annoying bug: the files I write sometimes disappear... They are still in memory, but BBC is unable to find them.
And I can't do: SAVE "TESTBBC" if the program don't already exist, whereas the first I did it, it worked.
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Beta Testing - 2008/01/15
Sounds like an LCD timing bug on the 84+, thanks for reporting it. Do other graphics commands (try the CLOCK and CUBE demos) work? The pixel-plotting routine writes directly to the LCD (pointless to send 768 bytes to the LCD when only one has been updated) so there could well be a bug in that code.
I noticed that the SIERPINS demo doesn't clear the screen properly, I'll look into it.
CLS clears the text viewport. In MODEs 0 (the default) and 3 text characters are six pixels high, making the text viewport 96x60 pixels. The bottom four rows are outside the text viewport so cannot be cleared with CLS. CLG will clear the graphics viewport, which by default fills the screen. You can change the size of the text and graphics viewports (see the VDU Emulator documentation) which is why I can't just clear the entire screen with CLS.bwang wrote:Also, cls doesn't seem to clear the bottom few rows of the screen.
I noticed that the SIERPINS demo doesn't clear the screen properly, I'll look into it.
That's rather more important. Are you doing this on a real calculator or on an emulator? I noticed this happened on Wabbitemu (84+), but never on PTI (83+) or on a real 83+.There is an annoying bug: the files I write sometimes disappear... They are still in memory, but BBC is unable to find them.
And I can't do: SAVE "TESTBBC" if the program don't already exist, whereas the first I did it, it worked.
Re: Beta Testing - 2008/01/15
I am using a true Ti 84+...
I made a Ram Clear and it solved the problem of undetected programs (and programs that creates when I want to load them, if they don't exist)
There is another bug: The letter 'e' is not available, and the 'd' is difficult to have...
The problem with my screen happens when the screen refreshes too fast, it happens with some of grayscales Asm programs. But as soon as nothing is done, the bug remains on your screen.
There is a program to fix it, but it must be run each time the bug appears. (http://www.ticalc.org/archives/files/fi ... 36608.html)
Maybe you could use this code when you leave a program.
I made a Ram Clear and it solved the problem of undetected programs (and programs that creates when I want to load them, if they don't exist)
There is another bug: The letter 'e' is not available, and the 'd' is difficult to have...
The problem with my screen happens when the screen refreshes too fast, it happens with some of grayscales Asm programs. But as soon as nothing is done, the bug remains on your screen.
There is a program to fix it, but it must be run each time the bug appears. (http://www.ticalc.org/archives/files/fi ... 36608.html)
Maybe you could use this code when you leave a program.
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Beta Testing - 2008/01/15
I'm sorry, but I don't quite follow what you mean.Kiruahxh wrote:I made a Ram Clear and it solved the problem of undetected programs (and programs that creates when I want to load them, if they don't exist)
This may be another speed issue with my keypad code. The calculator is in 15MHz mode on the TI-84+ and TI-83+ SE, so I may add a command to reduce the speed to see if that helps bugs. Really, the CPU should be dropped to 6MHz when taking input from the user anyway.There is another bug: The letter 'e' is not available, and the 'd' is difficult to have...
I think that's the problem with my code, it's writing to the screen too fast.The problem with my screen happens when the screen refreshes too fast, it happens with some of grayscales Asm programs. But as soon as nothing is done, the bug remains on your screen.