ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: File Archives :: Invert
Invert

FILE INFORMATION

Ranked as 33255 on our all-time top downloads list with 1440 downloads.
Ranked as 10554 on our top downloads list for the past seven days with 2 downloads.

invert.zip
Filename invert.zip (Download)
Title Invert
Description A very good but slow inverting program. Inverts the current graph and works good at it too. It takes about 3 minutes to invert on a ti 83 without overclocking unit. It takes about 10 seconds on a 733 MHz computer which I have. It is an old one. Please submit your comments.
Author Nathan Ladwig (netham45@netham45.org)
Category TI-83 BASIC Graphics Programs
File Size 1,497 bytes
File Date and Time Wed Sep 22 08:23:57 2004
Documentation Included? Yes

SCREEN SHOTS

REVIEWS

Review
Review by  Kevin Ouellet
Reviewed on 2010-02-20
I personally do not recommend this program to anyone because of much smaller (and faster) ASM alternatives and even some much smaller BASIC alternatives, but this program is a prime example of how much speed you can gain in BASIC by sacrifying all the memory you can.

Instead of simply doing For(C,0,94:For(D,0,62:Pxl-Change(D,C:End:End, which is CONSIDERABLY smaller, the programmer has decided to just use one single For( loop and have one Pxl-Test( command for every pixel in the column number contained in the For( loop variable. In addition to this, he inverts two columns at once every loop, one on the left side and the other on the right side, until it reaches the center of the screen. The result: a whooping 1499 bytes of code just to do one thing that could have been done in about 14 bytes of code: invert the graph screen. But here's the thing: TI-BASIC For( loops are so slow to process that if he used the conventional 14 bytes method to do what he wanted, his program would run about twice slower. Had Netham inverted more pixels per For( loops than he did, his program would even have ran slightly faster. It's as pathetic as BASIC can get, sometimes: in cases where many things have to be displayed on screen in one loop, memory has to be sacrified to keep the program or game running at a decent speed.

Maybe the speed sacrifice in this program was too rash, since people will most likely not want a screen inverter this large on their calc, but I think if this method was used in a game where several enemies has to be displayed at once on the screen, their position/health being stored inside a list, like Galaxian, Space Invaders or a Warcraft, it would improve their speed a lot

Anyway, on the scoring of this screen inverter I would give:

Size: 0/10

Speed: 10/10 (for a BASIC program)

Originality: 5/10

Overall: 5/10 only download if you want something fast, but no ASM, and don't care about speed.


See 2 more reviews

LEAVE FEEDBACK

Questions, comments, and problems regarding the file itself should be sent directly to the author(s) listed above.

Write a review for this file (requires a free account)

Report inappropriate or miscategorized file (requires an account; or you may email us directly)

If you have downloaded and tried this program, please rate it on the scale below
BadGood
1  2  3  4  5  6  7  8  9  10  

ARCHIVE CONTENTS

Archive Contents
Name Size
Invert.txt   4238
INVERT.83p   1499

  Copyright © 1996-2019, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer