Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 17:56:33 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Prizm Snake -  (Read 1417 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Ashbad
Guest
« on: 01 May, 2011, 20:33:54 »
0

Hello, world:

I am going to start my prizm development legacy by making a simple game -- snake!

This will be essentially the original snake with a few added features like beautiful graphics and many modes of play!

Since I haven't even started coding it yet (still getting used to managin prizm projects) I'll just show you my first step, which was to create a SELECTED and UNSELECTED bitmap for each mode -- for your convenience I condensed the two together in a PNG file for you guys to see:

Logged
Spyro543
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Yesterday at 01:49:00
Date Registered: 15 April, 2011, 01:42:09
Location: Ohio
Posts: 998


Total Post Ratings: +59

View Profile WWW
« Reply #1 on: 01 May, 2011, 20:58:39 »
0

This is sure to be awesome!
Logged


I own a Compact Computer 40!
Programming languages known: BASIC, C
Favorite Pokemon: Dialga
Favorite games: Super Hexagon, Torchlight II
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 10 June, 2013, 08:37:04
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #2 on: 01 May, 2011, 21:29:06 »
0

So is this C or asm code. Either way it will be better than the Prizm snake I made in BASIC back in January. The problem with that was that drawing commands were way too slow and difficult to use.

btw you will want to remove the text at the bottom of the menu icons because the OS automatically adds the the name of the app. Or you could just wait for me to finish my asm shell, but that could take anywhere from 2 weeks to 1 month to finish Tongue
Logged


List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)
Stefan Bauwens
Creator of Myst 89 - סטיבן
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 15:57:54
Date Registered: 25 February, 2011, 15:41:10
Location: Belgium
Posts: 1748


Total Post Ratings: +135

View Profile WWW
« Reply #3 on: 01 May, 2011, 21:40:54 »
0

Good luck Ashbad!
Logged












 
Take my Calculator Quiz|Member map|A useful tool|Would you be interested in an European calculator community meeting?
Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)
Ashbad
Guest
« Reply #4 on: 01 May, 2011, 21:54:08 »
0

So is this C or asm code. Either way it will be better than the Prizm snake I made in BASIC back in January. The problem with that was that drawing commands were way too slow and difficult to use.

btw you will want to remove the text at the bottom of the menu icons because the OS automatically adds the the name of the app. Or you could just wait for me to finish my asm shell, but that could take anywhere from 2 weeks to 1 month to finish Tongue

I'm making it in C right now, and thanks for the icon suggestions Smiley thanks all for support Cheesy
Logged
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:08:43
Date Registered: 15 August, 2010, 09:18:54
Posts: 3192


Total Post Ratings: +222

View Profile
« Reply #5 on: 01 May, 2011, 22:25:17 »
0

Ashbad, also remember that if you use the Getkey() syscall, you will not have access to the entire screen for drawing. You will instead have access to that portion of the screen normally accessible from BASIC.

This looks nice. Good luck!
« Last Edit: 01 May, 2011, 22:25:44 by Qwerty.55 » Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 10 June, 2013, 08:37:04
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #6 on: 02 May, 2011, 04:32:59 »
0

Or if you prefer you're own text, you could just leave the program name field blank. This isn't the name of the file, but just the text contained within the header that the OS uses. And don't worry to much about the getkey() call. Because the keys are memory mapped (you can view this in insight) it's really easy to make your own call that doesn't need any bloated OS call to work. Seriously getkey() is an overly bloated call that draws the screen, will run the screen receiver, does getkey duh, will exit your apps, and draw the status bar if shift or alpha is pressed. But then again getkey() is the only way I know of so far to exit apps Tongue
Logged


List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2639

View Profile WWW
« Reply #7 on: 02 May, 2011, 23:34:21 »
0

Awesome, I wish you good luck Ashbad! ALso feel free to ask help in the Prizm hacking section if you need any. I'm sure a lot of people there will be happy to help. Smiley
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:08:43
Date Registered: 15 August, 2010, 09:18:54
Posts: 3192


Total Post Ratings: +222

View Profile
« Reply #8 on: 03 May, 2011, 00:15:28 »
+1

z80man, a way to exit apps:


1
2
3
4
5
6
sts.l pr,@-r15
...
stc @r15+,pr
rts
nop

The OS jumps to the program as if it's a subroutine, so you can just rts without generating any serious errors.
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
JosJuice
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: Today at 16:34:20
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #9 on: 03 May, 2011, 14:14:29 »
0

The OS jumps to the program as if it's a subroutine, so you can just rts without generating any serious errors.
Are you sure about that? I've seen discussions on IRC where people have said that it's not like that...
Logged

Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #10 on: 09 May, 2011, 13:39:41 »
0

So Ashbad, how's this going?
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2639

View Profile WWW
« Reply #11 on: 12 May, 2011, 03:18:08 »
0

I'm also curious how is it progressing? Are you also going the same route as you told me via PM or will the game remains SFW?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 10 June, 2013, 08:37:04
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #12 on: 12 May, 2011, 04:55:14 »
0

The OS jumps to the program as if it's a subroutine, so you can just rts without generating any serious errors.
Are you sure about that? I've seen discussions on IRC where people have said that it's not like that...
Why don't we check what's in the PR when staring programs? We can check the code around the returned address and see how apps are initiated. And I did see how the code is loaded. As we know apps are ran from flash, but how it is done is the physical address of the app is mapped to virtual memory at 0x30000000. This would suggest that 0x30000000 is not a static address, but is remapped every time an app is ran.

@Qwerty you had a minor error in your code. fix'd it for ya Wink


1
2
3
4
5
sts.l pr,@-r15
...
lds.l @r15+,pr
rts
nop
Logged


List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)
Ashbad
Guest
« Reply #13 on: 12 May, 2011, 22:18:08 »
0

This is on hold until a stable version of Emerald is released -- I plan to make this as an emerald-based game Wink
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 10:47:05
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50634


Total Post Ratings: +2639

View Profile WWW
« Reply #14 on: 12 May, 2011, 22:25:55 »
0

Ah ok. I hope you finish this, Pyrix, TanF and the others at one point too. I can't wait for screenshots too.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.517 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.