Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 20:36:43 *
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: Bitulator -  (Read 1454 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 07:38:00
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Topic starter
Total Post Ratings: +110

View Profile WWW
« on: 01 October, 2011, 04:02:53 »
0

Today, after reading about some contest entries to a contest to produce an awful four-function calculator.
Inspired, I decided to make my own.
Here it is, the Bitulator.
Spoiler for Code:
Quote from: Axe
.BITUL8R
"THE 16 BITULATOR, UTILIZING THE LATEST IN 8.8 TECHNOLOGY?"
Lbl START
If getKey(15)
Returnr
End
sub(INP)
Atheta
ClrHome
While getKey(54)
End
sub(INP)
Lbl 0
ClrHome
Disp "+-*/"
Repeat getKeyK
End
!If K-10
Lbl 10
Repeat 0
randB
If getKey(15)
Returnr
End
End!If B^2
!If B^3
Goto 10
End
!If B^5
Goto 10
End
!If B^7
Goto 10
End
Else!If K-11
Lbl 11
Repeat 0
randB
If getKey(15)
Returnr
End
End!If B^3
!If B^2
Goto 11
End
!If B^5
Goto 11
End
!If B^7
Goto 11
End
Else!If K-12
Lbl 12
Repeat 0
randB
If getKey(15)
Returnr
End
End!If B^5
!If B^2
Goto 12
End
!If B^3
Goto 12
End
!If B^7
Goto 12
End
Else!If K-13
Lbl 13
Repeat 0
randB
If getKey(15)
Returnr
End
End!If B^7
!If B^2
Goto 13
End
!If B^3
Goto 13
End
!If B^5
Goto 13
End
Else
Goto 0
End
sub(I)
Lbl I
If getKey(15)
Returnr
End
!If B-0
sub(START)
Else!If B^2
sub(ADD)
Else!If B^3
sub(SUB)
Else!If B^5
sub(PROD)
Else!If B^7
sub(DIV)
End
Lbl ADD
For(Q,0,65535)
If getKey(15)
Returnr
End
A++
theta--
If getKey(0)
Disp A>Hex,theta>Hex,Q>Hex,i
End
!If theta
Goto Atheta
End
End
Lbl Atheta
0B
0B
sub(I)
Lbl SUB
~AA
sub(ADD)
Lbl PROD
theta**AA
0B
sub(I)
Lbl DIV
A^^-1A
sub(PROD)
Lbl INP
ClrHome
Repeat getKey(54)
Output(0,,A>Hex
EndIf getKey(0)
If getKey(15)
Returnr
End
!If getKey(54)
If getKey(1)
A++
End
If getKey(2)
A++
End
If getKey(3)
A--
End
If getKey(4)
A--
End
Goto INP
End


Generated by the BBify'r (http://clrhome.org/resources/bbify/)
Beware, use it too many times without exiting the program, and the stack can start corrupting stuff. When it starts displaying noncharacters instead of numbers, that's a good sign it's about time to quit.
The source is also attached, in case you like your sources in 8xp form

* SHVNHAIR.8xp (0.84 KB - downloaded 41 times.)
« Last Edit: 16 February, 2012, 04:15:04 by Freyaday » Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
ralphdspam
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 09:10:11
Date Registered: 01 February, 2011, 07:58:40
Location: California, USA
Posts: 841


Total Post Ratings: +36

View Profile
« Reply #1 on: 01 October, 2011, 04:29:27 »
0

What the!? 
EDIT: Ooh, I wonder how much it takes to cause the stack to overflow...
« Last Edit: 01 October, 2011, 04:32:13 by ralphdspam » Logged

ld a, 0
ld a, a
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 07:38:00
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Topic starter
Total Post Ratings: +110

View Profile WWW
« Reply #2 on: 02 October, 2011, 04:36:10 »
0

According to geekboy, it'll take about 40 subroutine calls for the stack to start overwriting stuff, meaning that you have about nine or ten calculations to use before it starts overwriting stuff. I think.
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
boot2490
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 28 April, 2013, 05:54:45
Date Registered: 27 February, 2011, 07:39:51
Location: Pittsburgh, PA
Posts: 605


Total Post Ratings: +18

View Profile WWW
« Reply #3 on: 06 October, 2011, 17:37:47 »
0

What does it do?
Logged

I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler for Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 07:38:00
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Topic starter
Total Post Ratings: +110

View Profile WWW
« Reply #4 on: 06 October, 2011, 23:26:41 »
0

It calculates.
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
parserp
Hero Extraordinaire
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 28 May, 2013, 02:33:36
Date Registered: 08 September, 2011, 02:01:43
Location: Here.
Posts: 1421


Total Post Ratings: +80

View Profile WWW
« Reply #5 on: 07 October, 2011, 00:18:20 »
0

It calculates.
calculates what?
Logged

ticalc.org | Cemetech | TI-Freakware | casiocalc.org

My New Website!
Spoiler for The Rest:



A useful tool
Spoiler for bands:
Five Finger Death Punch
Disturbed
Slipknot
Linkin Park
Avenged Sevenfold
Breaking Benjamin
Skillet
30 Seconds to Mars
Yeong
Eternally Young Scarlet Moon
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 00:24:25
Date Registered: 15 October, 2010, 04:29:49
Location: Arden, NC
Posts: 3705


Total Post Ratings: +260

View Profile
« Reply #6 on: 07 October, 2011, 00:19:20 »
0

calculates stuff like normal 4-function calculator Big smile
Logged

Project Redemption....

My project progresses:HERE
My Pastebin stuffs:HERE
Check your rate: HERE
My Animations: HERE
Spoiler for Images :D:

ノ◕ヮ◕)ノ:・゚ PENGUIN WAVE!!:„ø¤º°¨ ¨°º¤KEEP THE PENGUIN GOING ¸„ø¤º°¨ ¨°º¤øº LETS GO PENGUIN !¤¤º°¨¨°º¤øº¤ø„¸¸ø¤º°¨„ ø¤º°¨¨°º
squidgetx
Food.
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 17:53:05
Date Registered: 30 May, 2010, 19:54:18
Location: eating somewhere
Posts: 1849


Total Post Ratings: +480

View Profile
« Reply #7 on: 07 October, 2011, 01:17:11 »
0

I wonder if it is possible to write a z80 emulator for calcs. Of course it would be slow as crap but.....
Logged

Read my webcomic! | My SoundCloud
Projects:

Check out the demo now!- Current progress: battle engine and stuff
Proud author of: Cuberunner | SpaceDash | The Psyche | XXEdit | AxeSynth | StickNinja | Gravity Guy | Embers:Phoenix | Zombie Gun
Axe: Need help optimizing?
User of Axe | zStart | TokenIDE | CalcGS | MirageOS
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 18:26:42
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2738


Total Post Ratings: +376

View Profile
« Reply #8 on: 07 October, 2011, 01:25:53 »
0

I wonder if it is possible to write a z80 emulator for calcs. Of course it would be slow as crap but.....
http://www.ticalc.org/archives/files/fileinfo/377/37796.html
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Freyaday
The One And Only Serial Time Killing Catboy-Loli-Ballerino
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 07:38:00
Date Registered: 24 February, 2011, 17:10:56
Location: ¿¿¿
Posts: 1893


Topic starter
Total Post Ratings: +110

View Profile WWW
« Reply #9 on: 07 October, 2011, 03:54:13 »
+1

Yeong "Bridge" Jin_Cool:
Almost right: It's an ABnormal 4func calculator!
Logged

In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


Beware the Bitulator! ,.,./`My Artwork!
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 05:14:49
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2651


Total Post Ratings: +65

View Profile
« Reply #10 on: 20 December, 2011, 01:35:09 »
0

And actually the fact that the CPU is virtually Identical lends to faster speeds than you'd expect. TI-Boy is another example of a fairly speedy z80 emu for the 84+.
Logged

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.757 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.