Enterprise Forever

:UK => Programming => Topic started by: ssr86 on 2014.June.10. 20:01:18

Title: 4-16-256-color square pixel modes
Post by: ssr86 on 2014.June.10. 20:01:18
Managed to get my first code to work...
Here are short codes to setup the following "square pixel modes":
160x128 with 16 colors (16-color pixel mode but pixels are 2 scanlines tall)
160x128 with 4 colors (4-color lpixel mode but pixels are 2 scanlines tall)
80x64 with 256 colors (256-color pixel mode but pixels are 4 scanlines tall)
80x64 with 16 colors (16-color lpixel mode but pixels are 4 scanlines tall)

Line Parameter Tables are 1120 bytes (80x64 modes) and 2144 bytes(160x128 modes) long...

The code is based on "the lines example" from "exos1.0 technical information" book.
No pictures - just some "random" pixels.

These modes should save quite a lot of memory, have square pixels and be rather fast (less to draw), these can't be achieved this "cheap" (or just can't at all) on other 8bit computers...
They remind me of old handheld consoles' resolutions...

edit: seems that the vertical resolution can be up to 144 and 72 pixels for respective cases (whole height of display)
Title: Re: 4-16-256-color square pixel modes
Post by: geco on 2014.June.10. 21:37:49
EXOS 2.1 (http://enterprise.8bit.hu/document/books/exos_2.1_technikal_information/index.html) doc also available, you can use it, EXOS 1.0 may contains obsolete information also.
I checked the codes, yes, a lot of memory, and a lot of CPU time can be saved by this blocky graphics setting, Endi mentioned a PC blocky game which resolution about 120 x 100 with 256 colour, unfortunately I do not remember to the name of the game, similar game could be realized with littlebit less resolution.
Title: Re: 4-16-256-color square pixel modes
Post by: geco on 2014.June.10. 21:56:05
I found it: Kid Tripp (http://toucharcade.com/2013/08/03/kid-tripp-review/)
Resolution: 120x80, on EP it could be 92x80 in 256 colour mode.
Title: Re: 4-16-256-color square pixel modes
Post by: ssr86 on 2014.June.11. 16:09:09
I based my code on the example from exos1.0 book, because I couldn't find that one in exos2.0 book. I remembered that I saw something like that in one of the available books and searched for it again, checked the exos2.0 book a few times before I actually found it in exos1.0 book...
 As for the exos2.1 doc - I get a "not found" for the nick and dave pages.

The game looks pretty. I like the colorful and blocky graphics.
I wonder when we'll see something using that 256-color mode in an enteprise game...

The mode 80x64 reminds me of pc textmode demos:
https://www.youtube.com/watch?v=c-avSlD5SNQ or https://www.youtube.com/watch?v=TO4IyHZ0ci4
these ones in particular are using 80x50 "textmode pixels" with 16 colors. Some "pixels" are "dithered blocks", but this is in 16-colors, so on enterprise one could just use a transitional color...

https://www.youtube.com/watch?v=ALy9TugTmmA

I think that this 256-color mode would be great for demos...
Title: Re: 4-16-256-color square pixel modes
Post by: geco on 2014.June.11. 16:45:30
Sorry, I did not check the links, I have it in downloaded version :D
Here you can find book from EXOS2.0 and EXOS2.1 in English also : EP Info Store (http://enterprise.iko.hu/books.htm)

There is already one game which is using 256 colour mode in game, it was made by Endi in the 90's, and looks good also: Book of Life Pics and descriptiojn (HUN) (http://ep128.hu/Ep_Games/Leiras/Book_of_Life.htm)
Book of Life Download (http://ep128.hu/Ep_Games/Prg/Book_of_Life.rar)

Those PC demos are fantastic, I think they would be good in blocky mode also :D
Title: Re: 4-16-256-color square pixel modes
Post by: jltursan on 2014.June.11. 22:55:30
Yep, having enough colors, these blocky resolutions work incredibly well (and fast!). Love that bricks!
Title: Re: 4-16-256-color square pixel modes
Post by: SlashNet on 2014.September.22. 00:56:42
Review of some Nitrome games with 256-colour blocky graphics (on Russian): http://gamin.me/blog/selects/12794
Title: Re: 4-16-256-color square pixel modes
Post by: SlashNet on 2016.July.15. 23:04:16
Funny bubblebobble-like game in pixeling view: http://www.lexaloffle.com/bbs/?tid=3421
Title: Re: 4-16-256-color square pixel modes
Post by: ssr86 on 2016.July.17. 14:04:27
Funny bubblebobble-like game in pixeling view: http://www.lexaloffle.com/bbs/?tid=3421
This pico8 games look really interesting. I like the palette, but as for the resolution 128x128 seems a little too small... the gameboy's 160x144 would be a little better imo.
All games for the system could be listed here as an example for possible low resolution mode ep games :)

http://www.lexaloffle.com/bbs/?tid=2145&pid=11724&autoplay=1#pp
Title: Re: 4-16-256-color square pixel modes
Post by: geco on 2016.July.17. 16:40:04
In 16 col mode with sqare pixels the width would be a speccy screen, which would be good i think
Title: Re: 4-16-256-color square pixel modes
Post by: SlashNet on 2016.July.17. 17:06:37
All games for the system could be listed here as an example for possible low resolution mode ep games :)

I think about that, too.