Jump to content
IGNORED

RXB - Rich Extended Basic


Bones-69

Recommended Posts

6 minutes ago, Torrax said:

I was hoping RXB used the same syntax as SXB (Super Extended Basic).  Guess not!

I tested that it worked in RXB 2020, but it didn't work in RXB 2024. So you're right, it should work like you describe it.

Link to comment
Share on other sites

On 2/15/2024 at 11:02 PM, jschultzpedersen said:

Hi

 

I downloaded the newest version of RBX2034 from your mail of Feb. 15th. I have a problem with the COPY command. It produces a SYNTAX error as you can see from the included screen dump. Am I using the command as it is supposed to be used? Or is this a bug.

 

regards

Jesper

copypic.jpg

OMG yea you are right the missing code

 

*
* Code for new commands DEL, COPY, and MOVE
*
* NOTICE !!!!!
* RAM BANK 2 CHANGED AS FOLLOWS-----
* 7D1B changed from >08 to >0B
* 7D35 changed from >08 to >0C

I have the old code of >0008 at both locations when it should be >000B at >701B and >000C at >7D35

Link to comment
Share on other sites

On 2/16/2024 at 11:56 AM, Torrax said:

COPY <start line> - <end line>, <new start line>, <increment>

 

COPY 10-20,50,10

Yea need to fix this as I used old back up code from Original XB

Link to comment
Share on other sites

On 2/16/2024 at 1:45 PM, Torrax said:

I was hoping RXB used the same syntax as SXB (Super Extended Basic).  Guess not!

Yea need to fix this as I used old back up code from Original XB

Link to comment
Share on other sites

On 2/18/2024 at 1:59 AM, RXB said:

FIXED AND UPDATED RXB2024A

RXB 2024A.zip 41.65 MB · 8 downloads

since i got my pgram card working, i want to load this in as module on it. trying to figure out what files i need to load it, i see the classic99 and finalgrom 99 folder, but the other folders are not clear, which one is like g/k format or is there one?

  • Like 2
Link to comment
Share on other sites

1 hour ago, atrax27407 said:

The Classic99 file contains 5 GROMs in the "G" file and 3 ROMS in the "C" file. Whatever else you have to add (headers, extra dummy ROM, etc.) depend on the requirements of your device.

Yeah seems I going to have to code up a converter or a new loader program. Everything these days online is in classic99 or finalgrom99 format nothing left in the old g/k format which makes trying to use old tech my pgram or my g/k harder.

Link to comment
Share on other sites

Here are some module disks that are probably csave files, they may contain some GK usable files?

On 2/19/2024 at 8:02 PM, Gary from OPA said:

Yeah seems I going to have to code up a converter or a new loader program. Everything these days online is in classic99 or finalgrom99 format nothing left in the old g/k format which makes trying to use old tech my pgram or my g/k harder.

I see that I forgot to leave something here:

MODULE01.zip

Edited by RickyDean
Link to comment
Share on other sites

Hi

 

I ran into another possible bug in the 2024A version using the current version of Classic99. The CALL SCREEN works for me with the standard single numeric parameter. But the extended versions do not. See included Screen dump. Never mind the extra space. It happens without the space too.

 

regards Jesper

screen.jpg

Edited by jschultzpedersen
An extra space in the dump.
Link to comment
Share on other sites

On 2/19/2024 at 8:14 PM, RickyDean said:

Here are some module disks that are probably csave files, they may contain some GK usable files?

I see that I forgot to leave something here:

MODULE01.zip 2.6 MB · 1 download

thanks i will check it out later on. -- today, been a early spring cleaning for me, since the weather warmed up, i got the office windows open and washing the hardwood floors.

  • Like 1
Link to comment
Share on other sites

On 2/15/2024 at 11:02 PM, jschultzpedersen said:

Hi

 

I downloaded the newest version of RBX2034 from your mail of Feb. 15th. I have a problem with the COPY command. It produces a SYNTAX error as you can see from the included screen dump. Am I using the command as it is supposed to be used? Or is this a bug.

 

regards

Jesper

copypic.jpg

Looks like you are using RXB2024 instead of the new updated RXB2024A

Link to comment
Share on other sites

On 2/21/2024 at 12:39 PM, jschultzpedersen said:

Hi

 

I ran into another possible bug in the 2024A version using the current version of Classic99. The CALL SCREEN works for me with the standard single numeric parameter. But the extended versions do not. See included Screen dump. Never mind the extra space. It happens without the space too.

 

regards Jesper

screen.jpg

Dang you are right I used a older version of CALL SCREEN so looks like another release is needed!

  • Like 1
Link to comment
Share on other sites

22 hours ago, jschultzpedersen said:

Hi

 

Another small issue with RXB 2024A. The command CALL CHARSET(ALL) works all the way to character 159. But it does not reset character 30 though it says so at page C3 in the docs.

charset.jpg

Dang you are right I used a older version of CALL SCREEN so looks like another release is needed!

Make a note of this too.

  • Like 1
Link to comment
Share on other sites

I was told that RXB 2024A has a problem with CALL CHARSET(ALL) and CALL SCREEN("ON") and CALL SCREEN("OFF")

So I fixed these in RXB 2024B

 

Now I have noticed a ERROR in RXB 2020 and 2021 and 2022 that no one ever noticed so thanks for anyone that is debugging RXB for me.

(Atrax27407 I always give credit where credit is due, again thanks)

RXB 2024B.zip

  • Like 5
Link to comment
Share on other sites

Hi

 

I have a suggestion for a change to RXB2024B. I have worked my way through most of the manual by now and not encountered more issues. But I noticed that while it is possible to change screen mode by manipulating the VDP write registers from basic with the POKER(7,244,1,240) command, it is not supported by commands like VPUT - where you cannot go beyond 32 horizontally when placing the string on the display, and by HCHAR or VCHAR - which do not allow more than 768 repeats and folds back to the top to stay within the range of addresses used by GRAPHICS mode 1 for the display, if you start somewhere down the display.

 

If the limit was raised for these commands sufficiently to support the TEXT mode - probably with a test to see if the range is compatible with the current mode, the TEXT mode could be made more useful to a basic user. The same might be done for CALL CLEAR, which only clears the first 768 addresses in VDP.

 

Of course there might be a problem, if someone started moving the start address of the display away from address 0. POKER can do all sort of things to the VDP setup, I suppose. But then they are on their own!

  • Like 1
Link to comment
Share on other sites

Ran some more timing tests: 

 


90 ! ROUTINE SET UP SPRITES TEST SO NOT PART OF TIMING ROUTINE
100 CALL CLEAR
110 OPEN #1:"CLOCK"
120 INPUT #1:A$,B$,C$
130 FOR C=1 TO 10000
140 ! ROUTINE INSERTED HERE TO TEST
150 NEXT C
160 INPUT #1:D$,E$,F$
170 PRINT A$,D$:B$,E$,C$,F$
180 END 

   XB       XB3     XBGEM   MyarcXB2   RXB   command
-------------------------------------------------------------------------
  11:5      9:10     3:11      5:6     3:21  CALL CHAR(65,"FFFFFFFF")
2:57:15    34:18     5:33      6:19    4:42  CALL CHAR(65,Z$) ! LENGTH 64
  11:32     7:19     4:1       5:14    4:5   CALL CHARPAT(65,Z$)
  32:44     33:6  1:11:47      5:1     4:8   CALL CHARSET
   3:49     3:29     3:43      8:48    3:41  CALL CLEAR
   6:25     6:25     6:24      7:22    6:19  CALL COINC(#1,20,20,8,Z)
   3:0      3:0      3:0       4:3     3:4   CALL COINC(ALL,Z)
   4:33     4:15     4:15      5:4     4:24  CALL COLOR(1,2,8)
   3:9      3:9      3:9       4:6     2:36  CALL DELSPRITE(#1)
   6:22     6:23     6:22      4:18    5:33  CALL DELSPRITE(ALL)  
   6:5      6:6      6:6       6:0     6:1   CALL DISTANCE(#1,20,20,Z)
   6:6      3:7      4:10      5:9     4:2   CALL GCHAR(1,1,Z)
   4:11     3:1      4:5       5:5     4:17  CALL HCHAR(1,1,65)
4:37:35  4:39:17     9:31     14:12    7:33  CALL HCHAR(1,1,65,768)
   5:0      3:2      5:6       6:43    5:7   CALL JOYST(1,X,Y)
   4:37     3:25     4:38      5:16    5:2   CALL KEY(1,K,S)
   4:4      4:4      4:4       5:13    4:17  CALL LOCATE(#1,20,20)
   2:17     2:11     2:14      3:45    2:14  CALL MAGNIFY(1)
   4:44     4:44     4:44      6:42    4:41  CALL MOTION(#1,20,20)  
   3:8      3:17     3:17      5:27    3:4   CALL PATTERN(#1,66)
   5:22     5:22     5:31      5:25    5:9   CALL POSITION(#1,X,Y)
   3:44     2:11     2:6       4:3     2:17  CALL SCREEN(5)
   5:9      5:8      5:9       6:30    5:7   CALL SPRITE(#1,65,2,10,10)
   3:55     3.0      4:5       5:5     4:17  CALL VCHAR(1,1,65)
4:30:22  4:30:41    18:29     18:11   21:3   CALL VCHAR(1,1,65,768)
  10:2      8:13    10:1       6:18   10:3   DISPLAY AT(9,9):C
  21:10    13:41    11:49     11:29   12:13  DISPLAY AT(9,9):RND
   8:22     6:43     8:22      6:17    8:21  DISPLAY AT(9,9):"TEST"
  12:13     5:3      7:16      3:8     3:9   A=RND
******************************************************************************
* RXB COMMANDS
 DISPLAY  DISPLAY  DISPLAY  DISPLAY    5:6   CALL HPUT(11,11,C)
 DISPLAY  DISPLAY  DISPLAY  DISPLAY    7:12  CALL HPUT(11,11,RND)
 DISPLAY  DISPLAY  DISPLAY  DISPLAY    4:29  CALL HPUT(11,11,"TEST")
  14:17    10:10    15:42     16:16   11:50  CALL JOYLOCATE(1,X,Y,8,8,#1,RW,CL,K) GOTO 
  15:53    10:20    15:3      16:1    10:2   CALL JOYMOTION(1,X,Y,#1,9,9,K) GOTO
   7:7      5:11     7:7      11:3     9:33  CALL ONKEY("ABC",1,K,S) GOTO 1,2,3
   N/A      N/A      N/A       N/A     7:26  CALL COLLIDE(#1,20,20,8,X,Y)
   N/A      N/A     10:31      N/A    11:39  CALL MOVES("RR",1024,8192,12288) 
******************************************************************************
80 ! JOYLOCATE FOR OTHERS   
90 CALL SPRITE(#1,65,2,20,20) :: XL,YL=20
100 CALL CLEAR
110 OPEN #1:"CLOCK"
120 INPUT #1:A$,B$,C$
130 FOR C=1 TO 10000
140 CALL JOYST(1,X,Y) :: CALL LOCATE(#1,X+XL,Y+YL) :: CALL KEY(1,K,S) 
:: IF K=18 THEN 150
150 NEXT C
160 INPUT #1:D$,E$,F$
170 PRINT A$,D$:B$,E$,C$,F$
180 END
*****************************************************************************
80 ! JOYMOTION FOR OTHERS
90 CALL SPRITE(#1,65,2,20,20) :: XL,YL=20
100 CALL CLEAR
110 OPEN #1:"CLOCK"
120 INPUT #1:A$,B$,C$
130 FOR C=1 TO 10000
140 CALL JOYST(1,X,Y) :: CALL MOTION(#1,X*9,Y*9) :: CALL KEY(1,K,S) 
:: IF K=18 THEN 150
150 NEXT C
160 INPUT #1:D$,E$,F$
170 PRINT A$,D$:B$,E$,C$,F$
180 END
****************************************************************************
80 ! ONKEY FOR OTHERS
90 CALL SPRITE(#1,65,2,20,20) :: XL,YL=20
100 CALL CLEAR
110 OPEN #1:"CLOCK"
120 INPUT #1:A$,B$,C$
130 FOR C=1 TO 10000
140 CALL KEY(1,K,S) :: IF K=65 THEN 150 ELSE IF K=66 THEN 150 ELSE IF 
K=67 THEN 150 ELSE 150
150 NEXT C
160 INPUT #1:D$,E$,F$
170 PRINT A$,D$:B$,E$,C$,F$
180 END
****************************************************************************

 

  • Like 1
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...