Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 01:36 17 May 2022 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 : It had to be done :-)

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 6117
Posted: 05:31pm 12 Dec 2021
Copy link to clipboard 
Print this post





 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 2419
Posted: 05:35pm 12 Dec 2021
Copy link to clipboard 
Print this post

Was this not supposed to be "impossible", or at the very least too resource consuming ?

Tom
CMM2 Welcome Tape, Creaky old text adventures
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 05:42pm 12 Dec 2021
Copy link to clipboard 
Print this post

LOL! Nice one Peter. :)
Even cheaper than the BP too...
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 05:45pm 12 Dec 2021
Copy link to clipboard 
Print this post

*colour* VGA might cause a problem, but there's only one bitplane here. I think it's *very slightly* slower than the VGAmite too, but I don't know the clock speed.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 6117
Posted: 06:06pm 12 Dec 2021
Copy link to clipboard 
Print this post

 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 06:12pm 12 Dec 2021
Copy link to clipboard 
Print this post

LOL! Great!  :)

Isn't OPTION CPU LIGHTSPEED implemented yet?  ;)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1003
Posted: 06:46pm 12 Dec 2021
Copy link to clipboard 
Print this post

@Peter:
Congratulation!

The way to the original benchmark thread.
Regards
Michael
 
toml_12953
Senior Member

Joined: 13/02/2015
Location: United States
Posts: 250
Posted: 07:11pm 12 Dec 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  LOL! Great!  :)

Isn't OPTION CPU LIGHTSPEED implemented yet?  ;)


I'm waiting for OPTION CPU PLAIDSPEED but it won't look too good if we're limited in colors (colours).
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 09:10pm 12 Dec 2021
Copy link to clipboard 
Print this post

This is seriously encouraging. To get those benchmarks with a VGA driver running at the same time is really neat.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
Plasmamac

Senior Member

Joined: 31/01/2019
Location: Germany
Posts: 291
Posted: 11:51pm 12 Dec 2021
Copy link to clipboard 
Print this post

Really cool.
gtx
Edited 2021-12-13 17:05 by Plasmamac
Plasma
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 599
Posted: 07:48am 13 Dec 2021
Copy link to clipboard 
Print this post

That's really phantastic!!!      
...is there already somewhere a version to try out???

Thank you Peter for your efforts!!!

Frank
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 6117
Posted: 07:56am 13 Dec 2021
Copy link to clipboard 
Print this post

  Quote  ...is there already somewhere a version to try out???


Just tidying it up and getting PS2 keyboard working then will release a version.

This will be a VGA only version - no support for any other displays and no GUI/TOUCH support (makes no sense on a monochrome display).
CPU runs at either 126MHZ (normal) or 252MHX (turbo). Also PIO0 is not available for use.
Other than that it will have all the other PicoMite functionality.

The only compromise is that the display has to be blanked when writing to flash as this can only happen with interrupts disabled. How fast the image returns depends on how fast your monitor re-establishes lock.

This happens when exiting edit, exiting autosave, changing options, using VAR SAVE or using FLASH commands that write to flash. Otherwise the mage seems very stable and clear.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 08:11am 13 Dec 2021
Copy link to clipboard 
Print this post

I was lying in bed this morning wondering if you were using a PIO to get the syncs, with an interrupt to trigger the CPU to squirt pixels out. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 6117
Posted: 08:23am 13 Dec 2021
Copy link to clipboard 
Print this post

  Quote  I was lying in bed this morning wondering if you were using a PIO to get the syncs, with an interrupt to trigger the CPU to squirt pixels out. :)


As usual not my original work but I am good at incorporating, modifying and extending the work of others

See here for full details of how it works and Miroslav Nemecek who did the real clever stuff
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 09:10am 13 Dec 2021
Copy link to clipboard 
Print this post

Ee's a clever lad. Ee talks PIO reet good!

I'm afraid he lost me early on. lol  It shows how cleverly the PIO can be used though.

mmm...  PicoZork in glorious technigreen!
West of house
You are standing in an open field west of a white house, with a boarded front door.
There is a small mailbox here.
>_
Edited 2021-12-13 19:20 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 1293
Posted: 09:15am 13 Dec 2021
Copy link to clipboard 
Print this post

Hi Peter,

Looks you are running native 640x480 resolution, not the QVGA 320x240.
So you modified for monochrome, and clocked at 252MHz, and reserved 38k for video memory ?
Leaving an impressive 210k RAM for basic ? (effective 65k editor, 65k variables, 65k program ?)

Volhout
Edited 2021-12-13 19:15 by Volhout
If nothing goes right ... turn left
 
toml_12953
Senior Member

Joined: 13/02/2015
Location: United States
Posts: 250
Posted: 09:22am 13 Dec 2021
Copy link to clipboard 
Print this post

  matherp said  
  Quote  ...is there already somewhere a version to try out???


This will be a VGA only version - no support for any other displays and no GUI/TOUCH support (makes no sense on a monochrome display).


Why don't GUI and TOUCH commands make sense on a mono display? I can see the limited utility of GUI on a text-only display (although Visual Basic for DOS was very handy) but touch is still useful. It simply returns row and column info. If the display has mono graphics but no color, then GUI is useful, too.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 10:47am 13 Dec 2021
Copy link to clipboard 
Print this post

Nothing that makes heavy demands on CPU interrupts will work as the VGA system demands precise timing and can't be interrupted. You'll get a screen flash on every interrupt as the monitor loses sync. Also, VGA monitors don't (as standard) handle touch sensing at all and this software doesn't support LCD displays. GUI commands appear to depend on interrupts to operate at all.

Peter: is it a text display or does it support the usual line, box, circle etc.?
Edited 2021-12-13 20:58 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 6117
Posted: 10:51am 13 Dec 2021
Copy link to clipboard 
Print this post

  Quote  https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=14380&LastEntry=Y#178805


VGA screens almost never support touch. The GUI controls would be a nonsense in monochrome requiring a total rewrite. Interrupts are irrelevant
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 2185
Posted: 10:59am 13 Dec 2021
Copy link to clipboard 
Print this post

Good point - GUI objects can't change colour. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs
 
Print this page


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

© JAQ Software 2022