Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 6, 2012 7:06:32 GMT -5
reload already allows an offset I believe. WHILE...WEND is already in there as well, as are exit do and exit while (might be exit loop and exit while).
ETA: EXIT WHILE, EXIT LOOP, and EXIT FOR are already in BEX.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 6, 2012 7:21:33 GMT -5
reload already allows an offset I believe. Correct, the reload / restore command allows you to pass a offset to the label using the second parameter .. so for example. reload foo, 4 read a print a 'This prints 9
foo: data 0,0,0,0,9,0,0,0
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 6, 2012 7:40:17 GMT -5
|
|
|
Post by mkg on Sept 10, 2013 12:21:03 GMT -5
Clipping effects!
|
|
|
Post by mkg on Sept 10, 2013 12:22:08 GMT -5
And the BEX command reference on a gui like Visual Basic!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 10, 2013 15:44:34 GMT -5
Sadly, I've failed to update my BEX Command Reference in years.
Visual Basic help reminds me of any other Windows help. Do you really mean the proto HTML interface for QuickBASIC or QBasic help?
|
|
|
Post by beginnerxorz on Dec 3, 2013 15:21:58 GMT -5
Add a new command.
playdac audio.wav It plays a digital WAV file at 16000 frequency, 8-bit mono.
|
|
|
Post by mkg on Dec 3, 2013 15:44:29 GMT -5
playfm function! rotations! (of 90º sure)
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 3, 2013 15:54:14 GMT -5
Ya know, I was going to explain why these wouldn't work as regular functions and such, but you guys haven't listened to a thing moon and I have said over the last 2 weeks.
I give up.
|
|
|
Post by beginnerxorz on Dec 3, 2013 16:01:33 GMT -5
playsmps music.bin
|
|
Camtronic16
Burger Head
Creating quality games or something
Posts: 10
|
Post by Camtronic16 on Sept 8, 2014 13:19:02 GMT -5
I would like string splits, like in JavaScript, to be added. 'Split a string into an array of substrings' (Copied from this site) That would be very useful. Also a way to change the error message screens would also be nice with a new function called errorCode&() . E.G. an illegal instruction jumps to errorHandler: with the error code of 01.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 8, 2014 20:49:28 GMT -5
The Genesis is primitive in comparison to modern day computers (and even computers that were new when these consoles were new), so adding in stuff like a string subsystem and an error catching subsystem would eat up more resources than the use they'd get. If you know how many substrings you'd need, it would be very easy to write a function that will explode a string into individual words/phrases, like so:
global strArray$(5) as string
declare sub Explode(str$ as string) local x as integer, word as integer, buffer as integer word = 0 for x = 0 to len(str$)-1 if mid$(str$,x,1) = "|" then strArray$(word) = mid$(str$,buffer,x-buffer) buffer = x+1 'strArray$(word) = left$(str$,x+buffer) word++ end if next strArray$(word) = mid$(str$,buffer,x-buffer+1) end sub
And to use:
Explode "This|is|a|test|See?|Easy!" print strArray$(0) print strArray$(1) print strArray$(2) print strArray$(3) print strArray$(4) print strArray$(5)
Unsure why you'd want to do something like this since it would be faster (execution-wise) to just do PRINT "Menu Item 1": PRINT "Menu Item 2" instead of sending a string to be parsed to do the same thing.
|
|
|
Post by lunchbox on Feb 11, 2015 11:06:35 GMT -5
Would love to see Sega CD BRAM Save functions.
Also would like to see fading in and out of CD music volume. I know the commands exist within the bios, but would be nice to have them included as a simple call to fade in or out the audio track currently playing. Maybe even a command to start playing audio from a specific time as well
|
|
|
Post by nitrofurano1 on Aug 22, 2016 16:09:52 GMT -5
i think an excellent suggestion would be having BasiEgaXorz released as software-libre host somewhere like github - it might sound ironic (as afaik i never saw BasiEgaXorz sources released yet, or any kind of a libre alternative of it), but would be great being able to improve this cross-compiler, as well extending it to other 68k-based machines like Sinclair-QL, Amiga, NeoGeo, arcade machines (like Darius or Gradius), etc.
as well, since i’m only using BasiEgaXorz on GNU/Linux via Wine, and i’m far more comfortable on developing using a text editor and terminal instead of using an ide, i’m missing a lot the possibility of compiling code only from command line arguments instead of opening an ide for that, a bit like using Boriel’s ZX-Basic Compiler (which i have being using it for creating stuff for Master System, Game Gear and SG-1000)
|
|