Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 07:51:25 *
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: Retro TV effect for Nspire -  (Read 1097 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 18 June, 2013, 00:06:05
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 190

Topic starter
Total Post Ratings: +89

View Profile WWW
« on: 21 February, 2012, 11:57:52 »
+2

Here is a small novelty I made over the past few days. It's a retro TV effect that works when you switch off your calculator.

Here's a Youtube video of it in action:

<a href="http://www.youtube.com/watch?v=tRPs5Qo-Ei8" target="_blank">http://www.youtube.com/watch?v=tRPs5Qo-Ei8</a>

Unfortunately, at the moment it only works on the CX model running OS 3.1.

I'm still looking around for a better hooking address but apart from that it works okay-ish. More details in the README if anyone is interested in improving it.

Source and downloads
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:08:25
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1736


Total Post Ratings: +180

View Profile WWW
« Reply #1 on: 21 February, 2012, 11:59:42 »
0

Very nice!
The hook information could be used for the password protector of Levak Smiley

Good job Smiley
Logged

adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 17:56:38
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1202


Total Post Ratings: +186

View Profile WWW
« Reply #2 on: 21 February, 2012, 13:43:34 »
0

awesome, great job Cheesy
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Online Online

Gender: Male
Last Login: Today at 07:34:38
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 774

Total Post Ratings: +154

View Profile
« Reply #3 on: 21 February, 2012, 15:10:11 »
0

Nice Smiley
You may be interested by Ndless's new builtin function nl_set_resident() (on the SVN trunk, to yet upload as a release): http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations#Resident_programs

I'm planning to extend the support for hooks by Ndless, any ideas are welcome. It would include:
 - Hook installation detection (something similar to your is_already_hooked())
 - Standard hook points, to avoid programs having to include themselves the hook adresses (switch on/switch off would be one of them)
 - Multiple hooks at this point
 - Hook uninstallation
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
helder7
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 14 June, 2013, 23:09:04
Date Registered: 24 December, 2011, 01:08:51
Posts: 183

Total Post Ratings: +32

View Profile
« Reply #4 on: 21 February, 2012, 15:11:45 »
0

how, very nice effect Smiley, i love it
Logged

Casiopeia | Casio Wiki | eAct Maker [New!] | fxMouse [Control pc with fx9860!]
Spyro543
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 05:17:02
Date Registered: 15 April, 2011, 01:42:09
Location: Ohio
Posts: 998


Total Post Ratings: +59

View Profile WWW
« Reply #5 on: 21 February, 2012, 22:14:53 »
0

This is in C, right? How did you edit memory values to add the hook?
Logged


I own a Compact Computer 40!
Programming languages known: BASIC, C
Favorite Pokemon: Dialga
Favorite games: Super Hexagon, Torchlight II
Juju
Evil Fluttershy (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 06:22:32
Date Registered: 17 March, 2010, 07:46:57
Location: Québec, North Equestria
Posts: 4629


Total Post Ratings: +402

View Profile WWW
« Reply #6 on: 21 February, 2012, 22:17:58 »
0

That looks pretty cool.
Logged

LuaIDE
Reuben Quest HD: The PC Remake
Zarmina Project: Play Read
Nspire I/O: Info Download


THEGAME
Spoiler for Other stuff:
Also Yuki "ジュジュ" Kagayaki
Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Find what P+4zJ means and you get free candy! cc4daa9c4645bd123ed22e385ed701fd
#omnimaga on OmniNet, EFNet and Pesterchum
Omnimaga Owner and Former Administrator
Fan of My Little Jim Bauwens: Losing the Game is Magic
Proud member of POLN - Ponys Oppositing Lol Names
Member of OBEL - Omnimaga Board of the EFnrgelnicshh Language - Office Omnimagois de la Langue FArnagnlçaaiiss
あなたはこのゲームを失った
Spoiler for Old spoileryception stuff:

Spoiler for Coming soon...:
Indefinitely halted [|.........] 10%
OmnomIRC Mobile [||||......] 40% (argh threads >_<)
Spoiler for Current/Past TI-related projects:
The Axe Parser Wiki / Founder and maintainer
Keytar Hero [|||||_____] 50% Engine done, wackiness left to do (Halted)
OmniOS
VVVVVV [||||______] 40% (Made most of the engine, extremely glitchy) (Gave it to Leafy)
░█▀█░█░█░█▀▀░█▀█░█▀█░█▀█░▀█▀░█▀▄
░█▀█░▄▀▄░█▀▀░█▀█░█░█░█░█░░█░░█░█
v0.1.0
░▀░▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀░[|||||||||¦] 95ish% (Completed)
tilibs-wii? [._________] 0% (Nope.)
Spoiler for Spoilers:
<!---->
wxWabbitemu Developer
Spoiler for Other Userbars:






<!--Everything done, got 90% Cheesy sudo apt-get install z80asm z80dasm-->
Spoiler for Quote:
We are in 2034. The situation on Earth is catastrophic. The ozone layer has been completely destroyed by the carbonic gas of automobiles, the chemical industries, and the poosh-poosh in little cans. In the end, the earth cooks under the rays of the sun. We must find a planet on which can live 6 billion idiots. The planetary federation turns to the strongest country in the world: Canada. It is Canadian knowledge that has allowed, on October 28, 2034, the launch of the spaceship Romano Fafard, which leaves earth to search the confines of the Universe. Where the hand of man has never set foot.
I hate TI right now
Quote from: jimbauwens
You make me lose the game
Everytime I read your name
Spoiler for The real answer to life, the universe and everything:
Spoiler for Old HTML stuff:
<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px">Spoiler for This is another spoiler: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="window.location.replace('http://goo.gl/QMET');"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none; ">HAHAHA SUCCESSFUL RICKROLL IS SUCCESSFUL</div></div></div><!-- old avatars:
http://fc00.deviantart.net/fs71/f/2011/120/d/f/nepeta_nyan_cat_by_supuru-d3f8tcx.gif
http://th01.deviantart.net/fs70/PRE/i/2011/099/5/b/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png
http://25.media.tumblr.com/tumblr_lqhvmtSIwo1qm2frqo1_1280.png--><!---->
I may or may not be inactive during work hours (9AM to 5PM EST, Monday to Friday), so for any inquiries please leave a message after the beep and I'll answer you when I have time. Beep. Nevermind, I'm on vacation now. Cheesy
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: --)
*
Online Online

Gender: Male
Last Login: Today at 07:50:35
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50649


Total Post Ratings: +2640

View Profile WWW
« Reply #7 on: 21 February, 2012, 22:51:26 »
0

Looks nice. What we need next is something that runs in real time on the TI-Nspire (except during games to avoid slowdowns) where there's a slight snow effect in the screen, like TV channels with rabbit ears antenna.
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 18 June, 2013, 00:06:05
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 190

Topic starter
Total Post Ratings: +89

View Profile WWW
« Reply #8 on: 31 March, 2012, 03:19:42 »
0

Nice Smiley
You may be interested by Ndless's new builtin function nl_set_resident() (on the SVN trunk, to yet upload as a release): http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations#Resident_programs

I'm planning to extend the support for hooks by Ndless, any ideas are welcome. It would include:
 - Hook installation detection (something similar to your is_already_hooked())
 - Standard hook points, to avoid programs having to include themselves the hook adresses (switch on/switch off would be one of them)
 - Multiple hooks at this point
 - Hook uninstallation

Thanks. I did have a look at it but it seems that the calculator crashes when it is called.

Otherwise, I'm very pleased to see a lot of new features in the newer Ndless releases!

On the hook points, I'm curious as to your method to finding hook addresses. My method was to create a custom emulator that enters debug mode when a certain register is written to (i.e. to turn off the screen), make a memory dump and backtrace it using IDA. It is hard to tell however, where is the best place to install the hook  - most of it comes down to trial and error.

Do you have a better way?

This is in C, right? How did you edit memory values to add the hook?

The source code is included if you want to poke around with it. However, I believe the hooking macros are all defined in common.h in the Ndless SDK. You can check out a copy of Ndless source code and look how it's implemented.
« Last Edit: 31 March, 2012, 03:24:24 by tangrs » Logged
leafy
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 02:19:41
Date Registered: 26 December, 2010, 05:27:03
Location: the ninth circle of hell
Posts: 1555


Total Post Ratings: +372

View Profile WWW
« Reply #9 on: 31 March, 2012, 06:06:00 »
0

To make it look a bit cooler, you can try making the screen image fade to white while scaling down vertically, and at the last bit make it scale slower and stretch horizontally a little.
Logged

In-progress: Blastlabs, TMJO, qb?, VVVVVV?
Finished: Tag, Tap, MFQT, Nyan
Dead: Graviter
Spenceboy98
LV6 Super Member (Next: 500)
******
Online Online

Gender: Male
Last Login: Today at 07:48:08
Date Registered: 17 February, 2012, 02:46:51
Location: Gaffney, South Carolina
Posts: 426


Total Post Ratings: +50

View Profile
« Reply #10 on: 31 March, 2012, 06:14:48 »
0

Make it quit in a diamond shape instead of just a line.
Logged

DERSH IMPERSHIBER!!!

NerdTests.com says I'm a Nerd King.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!
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.373 seconds with 32 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.