MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Mon 27 Feb, 2006 12:16 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
Yet another (*cough*) side project; this time it is a genuine side project as I only worked on it for a couple of days :)

Image
Download binaries for TI-83/TI-83+
Documentation

Vinegar is a simple CHIP-8/SCHIP interpreter with a range of options; it should run most CHIP-8 games fine. SCHIP games are cropped to 96x64 (pan-and-scan with the arrow keys) - I'm up for ideas on how to display the 128x64 screen! My quick-and-dirty scaling methods were very ugly, so I removed them from this beta.

Please note that because of the way this works it can potentially cause RAM clears. I have done my best to catch any errors, but this is still in beta. It does check all bounds before writing to memory, and has a built-in error system.

None of the games I have played with it have crashed my calculator, though. ;)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 12:29 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
So ... many ... projects ... in ... such ... a ... short ... amount ... of ... time!

Very hard to keep up with you ben!

CHIP-8 is an awesome idea, i vaguely remember someone talking about it a while ago ... but maybe that was for GBA instead.

Wow! - There are a lot of games included! :).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Last edited by tr1p1ea on Mon 27 Feb, 2006 12:56 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 12:54 pm 
Offline
Calc King
User avatar

Joined: Sat 18 Dec, 2004 6:46 am
Posts: 2932
Really nice Ben, yeah I remember someone talk of this also. This looks amazing!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 1:26 pm 
Offline
Regular Member
User avatar

Joined: Fri 17 Dec, 2004 8:30 pm
Posts: 143
Awesome, this means a new wave of games is coming to our Tis :)
Good job benryves, you're really on fire these days.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 1:40 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 7:26 pm
Posts: 2735
Location: The Hague, Netherlands
wow very nice :D

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 1:45 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
GuillaumeH wrote:
Awesome, this means a new wave of games is coming to our Tis :)
The problem is that for SCHIP games, you can't see what you're doing :(
For some games (eg Ant) this isn't much of a problem. Joust can get annoying, as you start off screen. Blinky (the SCHIP version) is not great to play, either.
Note also that some of the ROMs included in the package are useless (X-Mirror, IIRC?). I just batch converted a load of them, most work but I haven't tried them all.

*shakes fist at TI for giving the 83 series 96-pixel wide screens*


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 2:37 pm 
Offline
Calc King
User avatar

Joined: Sun 23 Jan, 2005 12:37 am
Posts: 1727
Location: Netherlands
Like I spammed in the Emerson thread: Bloody amazing! :)
I think you've already earned the titles "best programmer" and "most active programmer" for 2006 :P

_________________
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 2:53 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
Timendus wrote:
I think you've already earned the titles "best programmer" and "most active programmer" for 2006 :P
Heh, thank you :)

One thing I have noticed; I've been looking for some more documentation on CHIP8 (for better information about the way it works) - according to this site, FX55 and FX65 need to modify I; they don't in my implementation.

I'd also like to rewrite the sprite routines; they're currently mutilated versions of ionPutSprite and ionLargeSprite, and don't wrap in the same way as most PC implementations do.

A CHIP-8/SCHIP interpreter is not a difficult project, but I wanted to give it a go as a bit of fun. :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 3:19 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 7:26 pm
Posts: 2735
Location: The Hague, Netherlands
What consoles/pc's did use chip-8?

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 3:24 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
kv83 wrote:
What consoles/pc's did use chip-8?
Originally, COSMAC VIP and Telmac 1800.
However, the SCHIP extensions were developed for the HP48, and since then there has been an interpreter for pretty much every platform under the sun, though it appears that the only TI one was for the TI-85, by Andreas Ess.
The TI-85 has a 128x64 display, so has the benefit of not having to crop the display and can double the pixel size for the regular CHIP-8 mode to implement half-pixel scrolling.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 4:00 pm 
Offline
Calc King
User avatar

Joined: Sat 18 Dec, 2004 6:46 am
Posts: 2932
Well none the less, this is a great job! Btw could you not just adapt the screen size to fit that of the 83+? Like instead of using the way you have it, nake it where the screen is full. So when your playing joust you could just "blow" up the screen. I am unsure if I am making myself clear...Let me know if I am not.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 4:14 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
kalan_vod wrote:
Well none the less, this is a great job! Btw could you not just adapt the screen size to fit that of the 83+? Like instead of using the way you have it, nake it where the screen is full. So when your playing joust you could just "blow" up the screen. I am unsure if I am making myself clear...Let me know if I am not.
Do you mean scaling (shrinking) the screen?
I tried using 3 different approaches; setting the LCD into 6bpp mode and shifting each byte right was very ugly but fast; doing a full scale "proper" was very slow and still very ugly (both methods lose pixels). The best looking method was to scale the entire thing down to 50%, but add an offset of either one x or one y (so four different frames) each loop, creating a flickery greyscale view. For some games this looked OK, for others (such as Ant) it made the graphics a horrible mess.
In the end, I removed that code completely and just use the pan-and-scan method.
One method I haven't tried would be to work out where the last sprite was drawn, and to scroll the screen towards it if it was off-screen.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 4:20 pm 
Offline
Calc King
User avatar

Joined: Sat 18 Dec, 2004 6:46 am
Posts: 2932
Well I just meant that could you fill the screen. Like not shrinking it 50% but shrinking it 75% or so?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 4:27 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
kalan_vod wrote:
Well I just meant that could you fill the screen. Like not shrinking it 50% but shrinking it 75% or so?
That's what I tried. The problem is that you lose pixels in doing so; if you look at the SCHIP "Blinky" (Pacman) you'll see the dots and walls are one pixel thick and they end up being erased.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 27 Feb, 2006 4:31 pm 
Offline
MCF Legend

Joined: Mon 20 Dec, 2004 8:45 am
Posts: 1601
Location: Budapest, Absurdistan
Blasphemy! Screenshot made with TISShot! :P

_________________
The Independent Z80 Assembly Guide
Acelgoyobis
PindurTI


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt