Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:19 26 Nov 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 : [MM] 3 bit colo(u)r MaxiMite

     Page 1 of 4    
Author Message
donmck

Guru

Joined: 09/06/2011
Location: Australia
Posts: 1313
Posted: 11:09am 18 May 2012
Copy link to clipboard 
Print this post


http://www.quantenbit.de/#/teach/Technical/electronics

http://hackaday.com/2012/05/18/a-color-maximite-for-glorious -3-bit-basic/

Cheers Don...
https://www.dontronics.com
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 11:53am 18 May 2012
Copy link to clipboard 
Print this post

Hi

This looks really interesting
I think i might just give it try wih a mini

John
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 04:48pm 18 May 2012
Copy link to clipboard 
Print this post

Lads, Lassies,

I wonder if there is much of a performance loss with color enabled?

I assume it reduces the amount of program space and the internal ram drive but it looks great from the little bit I have seen so far is great...


Now to read the articles in full detail.

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 08:31pm 18 May 2012
Copy link to clipboard 
Print this post

That's brilliant!

I can see a Maximite 2 coming up!

So, if I'm seeing it right...

A small mod to the existing MM and the rest of the mod is a firmware update which provides 8 colors from the Video Driver?

If that's so, is there still spare cycles to add sprite support?

Nick
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3801
Posted: 09:49pm 18 May 2012
Copy link to clipboard 
Print this post

I had a look but can't see details of what changes were made and what effect they have (such as on memory available).

Did I miss them / anyone know more?

JohnEdited by JohnS 2012-05-20
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 10:07pm 18 May 2012
Copy link to clipboard 
Print this post

Tonights Project will be to hack/modify/adapt/convert 1 of my maximites.
Photos and description will be posted when done.


VK4MU MicroController Units

 
Sumit

Newbie

Joined: 13/09/2011
Location:
Posts: 23
Posted: 11:58pm 18 May 2012
Copy link to clipboard 
Print this post

I didnt find any supporting documents or modified/new commands to manipulate colours. Did I miss anything ??


Sumit



 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 12:01am 19 May 2012
Copy link to clipboard 
Print this post

The 1st page linked to in don's original post has the modded schematic and also has a link for downloads of the modded .HEX files.
N.B. The schematic / Files are for the ORIGINAL Maximite and Clones.

Edited by djuqa 2012-05-20
VK4MU MicroController Units

 
Gadget
Regular Member

Joined: 22/06/2011
Location: Australia
Posts: 70
Posted: 12:20am 19 May 2012
Copy link to clipboard 
Print this post

it took me a minute or two to see the changes
the mod to the circuit involves adding two 120ohm resistors and two diodes from pins 51 and 32 of the pic and the other end going to pins 3 an1 of the vga connector
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 04:05am 19 May 2012
Copy link to clipboard 
Print this post

@Gadget wants to say that modifications are sketched directly on the "ORIGINAL" Maximite schematic.
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 12:42pm 19 May 2012
Copy link to clipboard 
Print this post

This was developed by Dr Kilian Singer in Germany. He has a brilliant idea for generating colour which only requires 4 extra components. The speed of MMBasic is not affected and it is backwards compatible with programs written for the standard Maximite.

There will still be some work needed to make it into a working colour MM. Kilian's method will work with a 64 pin chip but it really needs a 100 pin chip (which means a new PCB) and a modified version version of MMBasic. The only issue is that with eight colours you have just 33KB memory left for program and variables - OK for general use but not much for games. However, Kilian has proposed a MODE command so that you can switch between monochrome, four or eight colours enabling you to tune the memory requirement.

It will be interesting to see where this leads to.

Geoff
Geoff Graham - http://geoffg.net
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 12:50pm 19 May 2012
Copy link to clipboard 
Print this post

If I were asked what the next enhancement to the Maximite should be, I would have to say the video driver firmware.

If you have only seen the Maximite running on a LCD monitor and not on an old CRT (tube) display, then you will not realise how much better the Maximites 480x432 resolution is on this older technology.

LCD looks c*ap in comparison. On the CRT, every pixel is the same size whereas LCD monitors tend to scale the image to match the panel display or native LCD resolution. Unless you have an LCD which lets you turn this off (very few do), I'm afraid we are stuck with this inferior display with pixels of varying size.

An enhancement to the Maximite video driver firmware should include video output resolution that matches the native panel display of the LCD. This is difficult because there are so many but maybe supporting a few of the most common ones.

A 1024x768 (15" LCD) or 1280x1024 (17" LCD) would be ideal. This lays rise to problems with wide screens which now seems to becoming the norm now.

Fear not! I have a solution!

Whatever resolution is chosen, add "padding" to the video output to fill the unused parts of the display. Effectively create black pixels to make up for the differing screen dimensions. This idea means you could keep the Maximites 480x432 resolution (and keeping compatibility) and, based on a setting that reflects your LCD screens native res, create equally spaced black padding pixels to keep the screen happy and the Maximite's image centered and correct aspect ratio.

And (to bring the topic back to colour) also add colour as we've seen here, although this does involve a hardware hack to implement and so may not become commonplace enough.
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 06:31pm 19 May 2012
Copy link to clipboard 
Print this post

Hi

I have done the hardware mod to a Maximite and I now have a Maximite that can
Draw circles and lines in color

I assume they are or will be a command the will let you set the text color?

Maybe something like Font #nbr, scale, color

If I set the Maximite to composite video out it still works
but the video is cutoff on the left by about 10 characters


John
Edited by jman 2012-05-21
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 10:10am 20 May 2012
Copy link to clipboard 
Print this post

Good work. Now Geoff (or someone) needs to write and submit an article for Silicon Chip that outlines the mod clearly for Maximite users to implement.

The more modded Colour Maximites, the greater the chance of seeing colour software written. Maybe even a colour version of MaxMan.

Nick
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 12:20am 21 May 2012
Copy link to clipboard 
Print this post

  Nick said  
Whatever resolution is chosen, add "padding" to the video output to fill the unused parts of the display. Effectively create black pixels to make up for the differing screen dimensions. This idea means you could keep the Maximites 480x432 resolution (and keeping compatibility) and, based on a setting that reflects your LCD screens native res, create equally spaced black padding pixels to keep the screen happy and the Maximite's image centered and correct aspect ratio.

Would that not mean that the "pixel rate" of the vga signal has to be higher, therefore having less cpu time for the program?
Edited by TZAdvantage 2012-05-22
Microblocks. Build with logic.
 
Sumit

Newbie

Joined: 13/09/2011
Location:
Posts: 23
Posted: 03:41am 21 May 2012
Copy link to clipboard 
Print this post

  jman said   Hi

I have done the hardware mod to a Maximite and I now have a Maximite that can
Draw circles and lines in color

I assume they are or will be a command the will let you set the text color?

Maybe something like Font #nbr, scale, color

If I set the Maximite to composite video out it still works
but the video is cutoff on the left by about 10 characters


John


jman: Good to know that it works for you. What "colour" specific commands did you try ??

Sumit
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:29am 21 May 2012
Copy link to clipboard 
Print this post

@Sumit

The circle and line commands allow you to set the color
CIRCLE ( x, y ) ,r [,c [,F]] Setting the value of c from 0 to 9 will change
the color of the circle

John
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 03:34pm 21 May 2012
Copy link to clipboard 
Print this post

Is it possible to rewrite the video driver firmwareto output the sepaate VGA (RGB) signals via 3 available I/O pins?

The idea is to have a plug-in colour option that doesn't require modding of the Maximite in that way, offering a colour option for more people. The more people who have access to colour, the more likely software will be written for it. Everyone already has a colour VGA monitor, adding colour to the Maximite is the missing link.

Nick
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 04:03pm 21 May 2012
Copy link to clipboard 
Print this post

@Nick

The hardware mod is to difficult to do
So I think a lot of users could go color real quick and easy
I can post some pics of the mod if you like

Next step a new PCB or a new PCB with 100 Pin version

Regards

John
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 10:10pm 21 May 2012
Copy link to clipboard 
Print this post

I am busy with something that might work, it uses double buffering so it would be great for making games.
What would be the minimum resolution/color depth and frame rate that would be acceptable?

My personal goal is 800 x 480 16 colors and because no games are needed for it a framerate of 1 would be enough.

Microblocks. Build with logic.
 
     Page 1 of 4    
Print this page
© JAQ Software 2024