Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Deep Toaster on May 03, 2011, 08:16:40 pm
-
Got bored this morning, so I made this. (Really should start studying for my AP exam tomorrow <_<)
Searchable Z80 instruction tables (http://clrhome.org/resources/table/)
Comments and suggestions? When I get the time I'll add title-text that shows the time and speed of each instruction, as well as a quick description of what it does and what flags it affects.
A lot of thanks goes to Scout, who took the time to create the original online tables (http://davidgom.co.cc/z80tables.html), and Runer112, who made a few of the tables on his page. I copy/pasted a lot of it to use in mine (after getting permission a few weeks ago). And thanks to whoever made the original .xls file (http://www.ticalc.org/archives/files/fileinfo/236/23621.html), too. Haven't gotten to adding credits yet, but they'll definitely be there.
EDIT: Verified it works in all modern browsers, in addition to IE :P
-
Ah, I like the hi-lighting and searching. :)
Can you, by any chance add T-states?
-
Kinda reminds me of https://eeezor.ec3club.tk/Files/Resources/ASM/z80_Convertion_Tools.html :P Way more in depth though :)
-
Can you, by any chance add T-states?
T-states, size, flags, and description are all going to be in title-text :)
Kinda reminds me of https://eeezor.ec3club.tk/Files/Resources/ASM/z80_Convertion_Tools.html :P Way more in depth though :)
Oop, didn't know about that one. Can I plug a quick feature request here? Converting a mnemonic as soon as you press Enter.
-
Got bored this morning, so I made this. (Really should start studying for my AP exam tomorrow <_<)
Searchable Z80 instruction tables (http://clrhome.co.cc/b/table/)
Comments and suggestions? When I get the time I'll add title-text that shows the time and speed of each instruction, as well as a quick description of what it does and what flags it affects.
A lot of thanks goes to Scout, who took the time to create the original online tables (http://davidgom.co.cc/z80tables.html), and Runer112, who made a few of the tables on his page. I copy/pasted a lot of it to use in mine (after getting permission a few weeks ago). And thanks to whoever made the original .xls file (http://www.ticalc.org/archives/files/fileinfo/236/23621.html), too. Haven't gotten to adding credits yet, but they'll definitely be there.
EDIT: Verified it works in all modern browsers, in addition to IE :P
A 'hover' function would be great, I always wanted to put that in mine. When you hover an instruction, it says a description, speed and size. Can you do that?
Either way, the search function is great as I've already said in Cemetech.
-
A 'hover' function would be great, I always wanted to put that in mine. When you hover an instruction, it says a description, speed and size. Can you do that?
You don't even have to do that. You can just add something like 'title="This is title text!"' and it shows up when you mouse over :)
-
A 'hover' function would be great, I always wanted to put that in mine. When you hover an instruction, it says a description, speed and size. Can you do that?
You don't even have to do that. You can just add something like 'title="This is title text!"' and it shows up when you mouse over :)
Oh yeah, I had forgotten about some HTML stuff. =D I'll add that to mine ASAIC.
-
Added (http://clrhome.org/resources/table/).
I didn't use title, though it would be a lot easier. I used my own tooltip script so I can customize it later.
-
Woah Woah Woah! That is looking pretty awesome. Nice job Deep Thought!
-
Thanks :D
And I updated the URL. It's now at http://clrhome.org/resources/table/ (http://clrhome.org/resources/table/), opening a new site section.
EDIT: Updated again! Tooltips are now at a *sane* size, and they elaborate on how the instruction affects flags (instead of just throwing 00P1++ in your face).
EDIT2: And the search bar matches any part of the instruction, not just the beginning.
-
It looks really nice! :D
-
Updated to use regex for searching. It gets slow though D:
EDIT: Nvm, changed it back. It's not too useful and it's really laggy.
-
When I hover opcodes that are not in the primary table I wouldn't like to just get the opcode like BC, I'd like (FD)BC, can you do that?
-
Sure, good idea.
EDIT: I'd be done if the server hadn't gone down again.
-
I still don't get why helihost, loding the page seems quite slow to me.
-
Yeah, they seem to be having server issues lately. But at least the MySQL database doesn't go down virtually every day, like on 000 (the site relies on it for Projects, Membership, and a host of other things).
-
Yeah, they seem to be having server issues lately. But at least the MySQL database doesn't go down virtually every day, like on 000 (the site relies on it for Projects, Membership, and a host of other things).
I guess that's good. Have you considered another option besides those two?
Also Deep, I think I'll make a reference to this table on my tables, do you agree with that?
-
Yeah, they seem to be having server issues lately. But at least the MySQL database doesn't go down virtually every day, like on 000 (the site relies on it for Projects, Membership, and a host of other things).
I guess that's good. Have you considered another option besides those two?
Yeah, but they each have their problems. You get what you pay for, as always.
Also Deep, I think I'll make a reference to this table on my tables, do you agree with that?
That'd be great. I already link to yours in the credits part of mine :)
-
Woot, update!
Fixed some positioning issues, un-lagged searching, converted to valid XHTML, and added size/time/flags/description info to every instruction.
Thanks to Runer112 for letting me nuke his bot with queries for every single opcode, so I could steal his descriptions :D
-
Thanks to Runer112 for letting me nuke his bot with queries for every single opcode, so I could steal his descriptions :D
[emphasis mine]
Ah, so that was why it was called NukeBot. ;D
It looks very nice; the only issue I have with it is that the information pop-up vanishes briefly when the mouse is moved into the empty spaces between the table elements, which makes it look rather awful.
-
But the table itself looks awful without border spacing :(
By the way, anybody having trouble seeing the popup box in IE?
-
Is it searchable by opcode? I couldn't figure out how to make it do that
-
Not by opcode, but it's organized by that anyway :)
-
Of course it is, but I was hoping one could search for something like 01?????? and get all the 8bit LDs and a couple of other things
-
Of course it is, but I was hoping one could search for something like 01?????? and get all the 8bit LDs and a couple of other things
You can just look at rows 4, 5, 6, and 7 to get the same effect, couldn't you?
Deep Thought, can the space be put into the table cells themselves?
-
I tried replacing the spacing with a white outline, but even that interfered with the popup :(
-
Can you detect simply whether the cursor is in a table or not?
If so, the trigger to remove the pop-up would either be moving out of the table or onto a cell without a pop-up. Being in the table but not being on any cell would just keep the state of the pop-up as before.
It wouldn't be perfect, admittedly; you could stay in the space between cells and, say, have the pop-up for nop up next to rst 38h, but if it's possible, it could work.
-
Some small but important updates.
Descriptions for every single instruction have now been fixed. (That took a while, even with regex doing something like 90% of the work.) They now make sense, and refer to the registers they affect by name instead of reg8/imm8/etc.
I've also added automagic highlighting for permalinking in the form http://clrhome.org/resources/table/#STUFF_TO_SEARCH_FOR. If you give someone a link to, say, http://clrhome.org/resources/table/#sbc hl, (http://clrhome.org/resources/table/#sbc hl,), it'll put "sbc hl," in the search box and highlight only those instructions, useful for quickly showing someone where those instructions are.
-
What the others are doing: http://net.cs.uni-bonn.de/fileadmin/user_upload/plohmann/x86_opcode_structure_and_instruction_overview.pdf
-
Looks nice, but not as much detail :D Certainly would load faster though.
-
Necro-update: I just started using this myself (:P) and realized that I kept trying to type in the text box and hit Enter, as if it were a search engine. So I made it jump to the next matching instruction when you hit Enter :D
If you keep pressing (or holding) Enter, it'll loop through the rows with matching instructions.
Also updated some the descriptions for rst and some others.