Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
18 May, 2013, 16:43:00 *
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 [2] 3   Go Down
  Print  
Author Topic: Prizm Minesweeper -  (Read 3102 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
merthsoft
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 16 May, 2013, 19:22:09
Date Registered: 12 August, 2010, 06:10:40
Posts: 225

Topic starter
Total Post Ratings: +56

View Profile
« Reply #15 on: 18 April, 2011, 00:50:39 »
0

Here are some actual screen shots:
Playing:

Lost:
Logged

Shaun
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #16 on: 18 April, 2011, 00:51:33 »
0

Did you use the Screen Receiver to generate those?
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
merthsoft
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 16 May, 2013, 19:22:09
Date Registered: 12 August, 2010, 06:10:40
Posts: 225

Topic starter
Total Post Ratings: +56

View Profile
« Reply #17 on: 18 April, 2011, 00:52:56 »
0

Yes I did.
Logged

Shaun
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:41:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50196


Total Post Ratings: +2611

View Profile WWW
« Reply #18 on: 18 April, 2011, 02:29:46 »
0

How? shocked

The last time I tried taking screenshots from the screen receiver, it only let me capture while the calc was not busy or was in pause mode. When a while loop ran, for example, it wouldn't capture. Sad

Also the emulator won't let us send files. X.x
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
merthsoft
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 16 May, 2013, 19:22:09
Date Registered: 12 August, 2010, 06:10:40
Posts: 225

Topic starter
Total Post Ratings: +56

View Profile
« Reply #19 on: 18 April, 2011, 02:30:39 »
0

When using the GetKey() function, it allows that interrupt through, and that's the function I use for keys.
Logged

Shaun
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #20 on: 18 April, 2011, 02:34:20 »
+1

Merth, it's not the Getkey() function. The USB connection triggers interrupts that I believe occur whenever the cable is plugged it as long as the interrupt table is intact.
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
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:41:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50196


Total Post Ratings: +2611

View Profile WWW
« Reply #21 on: 18 April, 2011, 02:36:49 »
0

Weird, so I assume in ASM/C it's possible, but not in BASIC?
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
merthsoft
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 16 May, 2013, 19:22:09
Date Registered: 12 August, 2010, 06:10:40
Posts: 225

Topic starter
Total Post Ratings: +56

View Profile
« Reply #22 on: 18 April, 2011, 02:38:41 »
0

Merth, it's not the Getkey() function. The USB connection triggers interrupts that I believe occur whenever the cable is plugged it as long as the interrupt table is intact.
It only works in GetKey(), so there's something in there. The non-blocking calls don't handle MENU or Screen Receiver. Also, I accidentally down voted your post when I was trying to hit quote. So then I upvoted it.
Logged

Shaun
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:41:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50196


Total Post Ratings: +2611

View Profile WWW
« Reply #23 on: 18 April, 2011, 02:40:12 »
0

Hmm.. I wonder... does this mean that in a BASIC program, if I had a getkey command running in every loop, it would capture? I will have to try this when I have time.
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #24 on: 18 April, 2011, 12:13:18 »
0

Hmm.. I wonder... does this mean that in a BASIC program, if I had a getkey command running in every loop, it would capture? I will have to try this when I have time.

Do you mean like:


1
2
3
4
5
While (TRUE)
If GetKey
...
End

Would it capture that?
Logged
JosJuice
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: Today at 15:05:13
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #25 on: 18 April, 2011, 12:31:43 »
0

Hmm.. I wonder... does this mean that in a BASIC program, if I had a getkey command running in every loop, it would capture? I will have to try this when I have time.

Do you mean like:


1
2
3
4
5
While (TRUE)
If GetKey
...
End

Would it capture that?
I don't think that would be captureable... The Casio-BASIC GetKey is non-blocking, if I recall correctly.
Logged

z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #26 on: 18 April, 2011, 20:11:23 »
0

The screen receiver seems to work in BASIC progs only when there is little action. For example when the calc is is a repeat getkey loop then it will send an image, but if there are many drawing operations going on then the screen receiver will wait till the drawing calms down. I'm not sure if it will work when there are math only operations going on.
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:41:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50196


Total Post Ratings: +2611

View Profile WWW
« Reply #27 on: 12 May, 2011, 23:41:21 »
0

Hmm I see now. I assume if there are many draw functions you need to spam like 10 getkey commands in your loop code, right?
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: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #28 on: 13 May, 2011, 08:18:08 »
0

Actually I recently found out a little more about how the screen receiver works. It appears to use the dmac to do quick transfers of the vram to the usb. The problem is that the vram to DD (screen draw) also uses the dmac so screen reciever must wait till it is free. What I've seen is if you do a for loop to 100,000 with no drawing with screen receiver running there is little slowdown to your code, but if it is graphic intensive there still is little slowdown, but screen receiver won't do an transfers. Also if screen receiver is already using the dmac then directdraw must wait till it is done. The full dmac transfer takes about 1/22 of a second, but you can have your own code running during this time.
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:41:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50196


Total Post Ratings: +2611

View Profile WWW
« Reply #29 on: 23 May, 2011, 06:08:55 »
0

Hmm strange. I think we definitively need a good third-party emulator for screenshots, because currently it's annoying to capture anything X.x
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 [2] 3   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.311 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.