Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Omnimaga
»
Our Projects
»
Completed
»
BatLib
(Moderator:
Xeda112358
) »
BatLib Default Modes
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: BatLib Default Modes (Read 21822 times)
0 Members and 1 Guest are viewing this topic.
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
BatLib Default Modes
«
on:
April 12, 2011, 04:26:06 pm »
Okay, so currently, I would like to know if ReCode should automatically set Full or not. So, what is your opinion?
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Munchor
LV13
Extreme Addict (Next: 9001)
Posts: 6199
Rating: +295/-121
Code Recycler
Re: BatLib Default Modes
«
Reply #1 on:
April 13, 2011, 04:19:30 am »
I think it should be 6MhZ, like in Axe, and the user can change it to 15MhZ.
Logged
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: BatLib Default Modes
«
Reply #2 on:
April 13, 2011, 03:55:06 pm »
I voted for 6mhz also, as I think it's easier if the faster languages are in 6mhz mode on default, to avoid some conflicts between the 83+ and the 83+SE and above.
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: BatLib Default Modes
«
Reply #3 on:
April 13, 2011, 06:34:01 pm »
Hmm, okay. When I decided to make the regular commands run at max speed, I didn't disable that for ReCode which is why in the latest version it starts at 15MHz (if possible). So it looks like in the next version, default will be 6MHz
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: BatLib Default Modes
«
Reply #4 on:
April 13, 2011, 06:37:40 pm »
Wait, are you talking about the entire program, or just the ReCode part?
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: BatLib Default Modes
«
Reply #5 on:
April 13, 2011, 06:46:40 pm »
Just the ReCode part
I plan to keep the rest at max speed
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
TIfanx1999
ಠ_ಠ ( ͡° ͜ʖ ͡°)
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 6173
Rating: +191/-9
Re: BatLib Default Modes
«
Reply #6 on:
April 13, 2011, 07:02:10 pm »
In my opinion, it should be set at 6Mhz by default.
Logged
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: BatLib Default Modes
«
Reply #7 on:
April 13, 2011, 08:11:31 pm »
So would it be changing between 6mhz and 15mhz modes a lot if it was going between BatLib and ReCode and regular Basic? Or would it always be set at 6mhz or 15mhz mode?
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: BatLib Default Modes
«
Reply #8 on:
April 13, 2011, 10:18:55 pm »
When it comes across a regular BatLib command, the code will be executed at 15MHz, but when it enters ReCode, I will make it so that drops down to 6MHz.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: BatLib Default Modes
«
Reply #9 on:
April 13, 2011, 10:20:03 pm »
Ah. In that case, I retract my vote, as the speed would be different on the 83+ anyway.
15mhz mode all the way!
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
mrmprog
LV7
Elite (Next: 700)
Posts: 559
Rating: +35/-1
Re: BatLib Default Modes
«
Reply #10 on:
April 13, 2011, 10:43:48 pm »
Does the 15mhz mode drain the battery much faster?
Logged
http://www.positech.co.uk/gratuitousspacebattles/
This game is epic.
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: BatLib Default Modes
«
Reply #11 on:
April 14, 2011, 12:42:39 am »
The answer is yes and no
It will use the same power to perform the same actions, so in that sense, no. However, since it performs at 2.5 times the speed, it will drain at 2.5 times the speed. So, in situations where you need speed (graphics and data crunching), either mode will use the same amount of energy, but 15MHz mode will do it faster. However, if your calc is idling, waiting for user input, at 15MHz you are just draining your batteries.
So with that in mind, I will go back and modify some routines. The routines that wait for user input, like the getkey routines and Pause will execute at 6MHz and the rest will remain at the users current setting. This is especially a good idea for Pause because in 15MHz mode, Pause 250 would pause for 1 second instead of 2.5 like it would at 6MHz.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: BatLib Default Modes
«
Reply #12 on:
April 14, 2011, 12:49:43 am »
Interrupts work faster too, right? And, doesn't sound get screwed up? There's lots of things that change in 15 mhz mode.
«
Last Edit: April 14, 2011, 12:50:29 am by willrandship
»
Logged
Xeda112358
they/them
Project Author
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: BatLib Default Modes
«
Reply #13 on:
April 14, 2011, 12:55:05 am »
Hmm, BatLib has interrupts turned off, so that isn't a problem at the moment, but I didn't know about the sound... I guess I should change the sound commands to 6MHz mode, too! Thanks!
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Munchor
LV13
Extreme Addict (Next: 9001)
Posts: 6199
Rating: +295/-121
Code Recycler
Re: BatLib Default Modes
«
Reply #14 on:
April 14, 2011, 04:33:46 am »
I think the default both in BatLib and ReCode should be 6Mhz, however, if we use, let's say:
dim(X
It will make BatLib full.
If we did:
dim(40
Full
...
Stop
It would make ReCode 15mhz.
Logged
Print
Pages: [
1
]
2
Go Up
« previous
next »
Omnimaga
»
Forum
»
Omnimaga
»
Our Projects
»
Completed
»
BatLib
(Moderator:
Xeda112358
) »
BatLib Default Modes