BASIC developers/experts: I need your help!

페이지 1/4
| 2 | 3 | 4

By NYYRIKKI

Enlighted (6016)

NYYRIKKI의 아바타

08-10-2011, 15:40

Hi,

I have some long term plans to extend the X-BASIC (aka MSX-BASIC kun compiler) functionality a bit. I have now rebuild a new version of it, but as all the routines have now moved around and I don't have the original sources there might be some bugs that have slipped my eyes.

I would be grateful if you could test if your existing programs still work fine with this version of X-BASIC and report me back if you find something that doesn't work like in previous versions.

As this is early alpha there are only few little changes implemented: There is now support for INPUT$()-function and there are also few totally new commands that I've been missing. You can for example now do something like:

10 _TURBO ON
20 R=R+.05:WAIT LINE=SIN(R)*50+120
30 COLOR,8:WAIT SCREEN:COLOR,0
40 IF INKEY$="" then 20

(Should be pretty self explaining, if you are familiar with screensplit consept)

How ever the thing that interests me most at the moment is that all existing software works properly and here is where I need your help: Please test your sources with this compiler and report back any possible commands/functions/situations where you see that things work differently.

You can download ROM-Version here: XBASIC3A.ROM
... or BIN-version here: XBASIC3A.BIN

Thank you for your time.

Login or 등록 to post comments

By frits9164

Resident (64)

frits9164의 아바타

08-10-2011, 16:07

@NYYRIKKI,
I tried to download the files, but there's a snag somewhere, because I can not to download the files. Was there a new version XBasic, I did not know?
What I have is a very old version.
What is the difference with the old files?
I know that there are restrictions, but I have learned to live with.
For my programs works its well.
Greetings Frits9164Smile

By NYYRIKKI

Enlighted (6016)

NYYRIKKI의 아바타

08-10-2011, 16:21

Download works fine here. Anyone else with problems?
Was there a new version XBasic, I did not know? What I have is a very old version.
What is the difference with the old files?

AFAIK there are two different versions around that go usually with names XBASIC1.ROM and XBASIC2.ROM. Later has INTERVAL-command issues fixed and also support for MSX2+ graphic commands. This later version was made in 1988. (This is why I think it is time for an update Tongue )

By JohnHassink

Ambassador (5655)

JohnHassink의 아바타

08-10-2011, 16:55

Interesting, NYYRIKKI. I'm going to test it with my (Nestor)BASIC projects.

By sd_snatcher

Prophet (3642)

sd_snatcher의 아바타

08-10-2011, 17:11

Hi NYYRIKKI!

Very nice initiative! Big smile

AFAIK, the NestorBASIC and the GFX9000 PowerBASIC are similar projects. It would be nice if the efforts could be combined, otherwise the small programmers community will end up being splited between 3 different extensions of the TurboBASIC.

BTW, there's also a R800 patch for the TurboBASIC, but I couldn't find it now. But this patch don't create new extensions, it only takes advantage of the R800 multiplication instructions if such a CPU is present. It's transparent for the programmer.

By NYYRIKKI

Enlighted (6016)

NYYRIKKI의 아바타

08-10-2011, 17:23

This should work as part of NestorBASIC without problems. Just plug it in to binary or load after loading NBASIC.
PowerBASIC is another story... I don't think that it is gonna happen...

BTW, there's also a R800 patch for the TurboBASIC, but I couldn't find it now. But this patch don't create new extensions, it only takes advantage of the R800 multiplication instructions if such a CPU is present. It's transparent for the programmer.

Yes, the R800 patch should work fine even with this version. You can download it here:
http://www.msx.fi/nyyrikki/software.html (tR Speed up tools)

By Manuel

Ascended (19273)

Manuel의 아바타

08-10-2011, 21:24

Can you explain the basic listing with WAIT afterall?

By wolf_

Ambassador_ (10088)

wolf_의 아바타

08-10-2011, 21:47

I would guess:
- it waits for a specific line, then changes color
- then it waits until all lines have been dealt with and it changes color again
- repeat

By NYYRIKKI

Enlighted (6016)

NYYRIKKI의 아바타

08-10-2011, 22:49

Yes, wolf_ is correct... These commands can be used to synchronize program to screen draw.

By Manuel

Ascended (19273)

Manuel의 아바타

08-10-2011, 22:58

Well, that's pretty cool. Adding a completely new command to sync with screen events Smile

By PingPong

Prophet (4093)

PingPong의 아바타

08-10-2011, 23:25

Yes, wolf_ is correct... These commands can be used to synchronize program to screen draw.
I see you used a combination of already existing basic keywords. can one use a non existent kw also?
(WAIT, LINE, SCREEN)

페이지 1/4
| 2 | 3 | 4