Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:08 27 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : BASIC

     Page 3 of 3    
Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 10:35am 22 Oct 2019
Copy link to clipboard 
Print this post

Last time I tried QB64, it was clunky and flaky, nothing like programming in the original QuickBASIC environment.
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 261
Posted: 10:03pm 26 Oct 2019
Copy link to clipboard 
Print this post

I use the BASIC located at portal.qb64.org to run some of my old QuickBASIC programs.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3527
Posted: 07:34pm 06 Feb 2020
Copy link to clipboard 
Print this post

Hi Robert,

Any idea if this idea of yours is really feasible ?
What would it take to integrate this into DOS MMBasic ?

Volhout


  robert.rozee said  
  lizby said  
  Poppy said  At least I cannot find any pixel-plotting just for drawing some lines and graphs or other corresponding graphic commands ...or am I getting this completely wrong within the manual?


Absent as far as I know, and I agree, I'd like to be able to paint a screen with text and graphics. You can output [...] VT100 code to a terminal with serial out--and also feed it back into the PC with a second serial port and a VT100 terminal emulator like puTTY or Teraterm (but that's clunky and a more straightforward way of doing it would be nice (but Geoff already has a lot on his plate)).


what you are after is perhaps a bit like this?



the above (as can be seen) is mixed text and graphics displayed by GFXterm in what at first glance appears to be a console window, with the basic code running on an MX170 (MM2) attached via a serial port. however, GFXterm originated as a wrapper for MMbasic for DOS that took a turn in a different direction during development; in principal it could be adapted back to work as a wrapper for MMbasic for DOS, although this would require the two programs to work cooperatively via an API.

GFXterm implements the following graphic primatives: clear, ink, line, plot, arc, fill, moveto, drawto, scroll. graphics are drawn on a 'glass panel' that sits above the text and operates completely independently. while it looks like a console window, it is something far more convoluted and repugnant.


cheers,
rob   :-)

PicomiteVGA PETSCII ROBOTS
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2287
Posted: 03:20am 07 Feb 2020
Copy link to clipboard 
Print this post

it would require geoff to create a version of dos/win32 mmbasic where the onboard editor talks to the screen and keyboard solely via the STDIN and STDOUT pipes, uses vt102 escape sequences for cursor positioning, changing colours, etc, and responds to vt102 keyboard escape sequences for function and cursor keys. this could perhaps be achieved just through changing some of the conditional compile switches, as the vt102 stuff is already in the source code for use with all the pic32 micromites.

then one runs mmbasic.exe using the exact same method as 'P32P GUI.exe' runs pic32prog.exe:
http://www.thebackshed.com/docregister/ViewDoc.asp?DocID=21

this part would require me to create a variant of gfxterm that instead of talking to a serial port, is hard-wired to talk to the hooked pipes to/from mmbasic. doing this is relatively simple, all the code already exists.


cheers,
rob   :-)
 
bitartrate
Newbie

Joined: 08/05/2019
Location: United States
Posts: 1
Posted: 02:28am 12 Feb 2020
Copy link to clipboard 
Print this post

Hi Poppy, and

I realize you live in Germany but I always have some Colour Maximite on ebay ready to go.

I would like to suggest EngineBASIC.  It is truely a Maximite, C=64, CoCo2 type experience with structured programming and modern hardware, speed, and all the graphics abilities one could ask for.  If a person where happy with GW-Basic, Free-Basic, or MicrosoftBasic they will be happy with this dialect. I know your not thrilled with line numbers but this is a far superior experience to GB64 even.

https://basicengine.org/
https://github.com/uli/basicengine-firmware

There are several ways to run it including dedicated hardware, devoted emulator, and SDL versions.  I work in all three.  The SDL version is quite appealing as it aims to be that modern C=64 or Maximite experience on any operating system/hardware that can run an SDL application.  






basic678.sdl.zip

basic678unoficial.zip


File structure:

[Engine Basic]
    basic678.sdl
    basic678unoficial
    1mgm.sf2
       [sf]
        1mgm.sf2
       [vfs]
        [flash]
        [sd]
---------------------------------------------------

Launch this SDL version in linux:
    sudo ./basic678.sdl

Launch this Emulator in linux:
sudo ./basic678unoficial


To compile for your operating system:
https://github.com/uli/basicengine-firmware
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024