Jump to content
IGNORED

RXB 2021 DEVELOPMENT THREAD


RXB

Recommended Posts

UPDATE of RXB 2021

 

CALL HCHAR converted so not using GPL FMT command but now Assembly in ROM3

Ran RXB 2021 HCHAR vs Extended Basic with this test

100 OPEN #1:"CLOCK"
110 INPUT #1:A$,B$,C$
120 FOR X=1 TO 10000
130 CALL HCHAR(1,1,66,768)
140 NEXT X
150 INPUT #1:X$,Y$,Z$
160 PRINT A$,X$:B$,Y$:C$,Z$

 

RXB 2021 = 9 Minutes 4 seconds

Extended Basic = over 2 hours when I gave up waiting.

 

I think I am on to something here.

 

CALL HCHAR(5,5,65)

If a single character is used after 10,000 loops only faster by 3 seconds in RXB 2021 over Extended Basic.

So the less characters the lower the speed increase. 

  • Like 5
Link to comment
Share on other sites

15 hours ago, RXB said:

UPDATE of RXB 2021

 

CALL HCHAR converted so not using GPL FMT command but now Assembly in ROM3

Ran RXB 2021 HCHAR vs Extended Basic with this test

100 OPEN #1:"CLOCK"
110 INPUT #1:A$,B$,C$
120 FOR X=1 TO 10000
130 CALL HCHAR(1,1,66,768)
140 NEXT X
150 INPUT #1:X$,Y$,Z$
160 PRINT A$,X$:B$,Y$:C$,Z$

 

RXB 2021 = 9 Minutes 4 seconds

Extended Basic = over 2 hours when I gave up waiting.

 

I think I am on to something here.

 

CALL HCHAR(5,5,65)

If a single character is used after 10,000 loops only faster by 3 seconds in RXB 2021 over Extended Basic.

So the less characters the lower the speed increase. 

So is this the result of the code that Lee worked on?

That's pretty amazing.

 

It begs the question... how much more of RXB could be replaced with bug-for-bug compatible Assembly language? :) 

 

Link to comment
Share on other sites

5 hours ago, TheBF said:

So is this the result of the code that Lee worked on?

That's pretty amazing.

 

It begs the question... how much more of RXB could be replaced with bug-for-bug compatible Assembly language? :) 

 

Well XB is is 60% written in GPL and 40% written in Assembly after all the Cartridge is 24K GROM and 12K ROMs.

I still use GPL for set up, fetching the program lines and all the house keeping and use Assembly for the slow stuff like VDP and Graphics.

Also ROM for things like INIT for XB and INIT for TI Basic plus Editor Assembler, along with Character Definitions in ROM3.

RXB 2021 will be 40K GPL and 20K ROMs, 8K GROM of this is Editor Assembly Cart in GPL. (REA = Rich Editor Assembler)

So actually RXB 2021 will be XB 32K GROM and 20K ROMs, maybe as much as 32K ROMs if I add in things like F18 support.

 

In answer to the question of replacement by Assembly I never see a full on Assembly version ever, as this would take me years.

It would take a team of programmers just like it took the ones to create XB in first place. 

  • Like 3
Link to comment
Share on other sites

Just now, TheBF said:

Yes complete replacement is out of the question but over time a routine here or there,  and after a while things are moving faster as you have shown here.

 

Thanks!

Currently Lee is helping me and I am working on HCHAR, VCHAR, GCHAR along with RXB commands HPUT, VPUT, HGET and VGET.

HPUT and VPUT are RXB replacements for DISPLAY AT but faster slightly in GPL but should scream in Assembly.

HGET and VGET are like a loop of GCHAR in a loop, but works with String Variables.

Also added routines are SCROLLLEFT, SCROLLRIGHT, SCROLLUP, SCROLLDOWN, along with ROLL.

Now ROLL just moves all characters one character that direction and wrap side back to other side.

Thus we have ROLLLEFT, ROLLRIGHT, ROLLUP, ROLLDOWN.

Of course down the line we will have a XB PLOT version in RXB or Turtle Graphics. (This depends on F18 support.)

  • Like 4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...