Register - Login
Views: 99381120
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-23-22 11:48:19 PM
Jul - Posts by RedToad
Pages: 1 2
RedToad
User
Level: 11


Posts: 21/23
EXP: 5623
For next: 362

Since: 03-13-15


Since last post: 7.1 years
Last activity: 7.1 years

Posted on 03-19-15 09:26:56 PM, in How to make Star Road Custom Level Multiplayer (last edited by RedToad at 03-19-15 09:58:24 PM) Link
Nope it still does it. Oh well I will just use the trick that I found that works for me. I will just push the enter key after it is done assembling. It's weird that I have to do that. It might be a glitch with Windows Vista, maybe.

EDIT: I figured it out now. For some reason It works when I specify the end of the code. Like this

NOP
NOP
.ORG 0x00000008

This code will work without me having to push the enter key at the command prompt.

These codes will not work unless I push the enter key at the command prompt:

NOP
NOP

.ORG 0x00000000
NOP
NOP

Your code that you gave me for the Hello World had the .ORG at the front and .ORG at the back of the code which made it work, see:

.org 0x861C0
ADDIU SP, SP, 0xFFE8
SW RA, 0x14(SP)

ORI A0, R0, 0x70
ORI A1, R0, 0x70
LUI A2, 0x802C
JAL 0x802D66C0
ORI A2, A2, 0xB23C

LW RA, 0x14(SP)
JR RA
ADDIU SP, SP, 0x18

.org 0x8623C
.asciiz "Hello World"

In your readme it also says:

1. Make use of the .ORG directive if you want your code to be written to a specific address.

When you put in this code:

.ORG 0x00000000
LUI T0, 0x254D
ADDIU T0, T1, 0x2899
NOP
J 0x0033008
NOP

Did you add .ORG 0x00000014 at the end? If you did then that is why it worked for you and not for me.

It was partially my fault for not putting in the code right and us not knowing that .n64 wasn't compatible.

So long story short I have to push enter if I didn't specify where I wanted CajeASM to write to and I don't have to push enter if I used the .ORG directive. I think this is a bug, at least for me.
What do you think?
RedToad
User
Level: 11


Posts: 22/23
EXP: 5623
For next: 362

Since: 03-13-15


Since last post: 7.1 years
Last activity: 7.1 years

Posted on 03-19-15 11:20:46 PM, in How to make Star Road Custom Level Multiplayer Link
I tried removing .org but it still doesn't apply unless I push enter at the command prompt. What I am trying to say is that it works just in a weird way. Because I have already converted the bytes to .z64 it fixes the code applying problems so essentially I think I can continue it's just that I wanted to know why it was doing it.
RedToad
User
Level: 11


Posts: 23/23
EXP: 5623
For next: 362

Since: 03-13-15


Since last post: 7.1 years
Last activity: 7.1 years

Posted on 03-20-15 01:52:06 PM, in How to make Star Road Custom Level Multiplayer Link
Oh I get it now. Thanks for the explanation! Also thanks for all of your help, without you I probably wouldn't have figured all of this out. You are the best at figuring out ASM code!
Pages: 1 2
Jul - Posts by RedToad


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

20 database queries, 6 query cache hits.
Query execution time:  0.082099 seconds
Script execution time:  0.005709 seconds
Total render time:  0.087808 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 147 column 134 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 96 - Warning: unescaped & or unknown entity "&page"
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 133 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 238 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 240 column 9 - Warning: missing <tr>
line 258 column 13 - Warning: missing <tr>
line 264 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 266 column 9 - Warning: missing <tr>
line 284 column 13 - Warning: missing <tr>
line 290 column 17 - Warning: missing <tr>
line 290 column 17 - Warning: discarding unexpected <table>
line 293 column 35 - Warning: missing <tr>
line 293 column 96 - Warning: unescaped & or unknown entity "&page"
line 293 column 50 - Warning: missing </font> before </td>
line 293 column 133 - Warning: missing </font> before </table>
line 295 column 35 - Warning: missing <tr>
line 295 column 50 - Warning: missing </font> before </td>
line 295 column 134 - Warning: missing </font> before </table>
line 297 column 17 - Warning: discarding unexpected </textarea>
line 297 column 28 - Warning: discarding unexpected </form>
line 297 column 35 - Warning: discarding unexpected </embed>
line 297 column 43 - Warning: discarding unexpected </noembed>
line 297 column 53 - Warning: discarding unexpected </noscript>
line 297 column 64 - Warning: discarding unexpected </noembed>
line 297 column 74 - Warning: discarding unexpected </embed>
line 297 column 82 - Warning: discarding unexpected </table>
line 297 column 90 - Warning: discarding unexpected </table>
line 299 column 9 - Warning: missing </font> before <table>
line 311 column 25 - Warning: discarding unexpected </font>
line 320 column 57 - Warning: discarding unexpected </font>
line 298 column 1 - Warning: missing </center>
line 120 column 63 - Warning: <img> lacks "alt" attribute
line 125 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 125 column 93 - Warning: <img> lacks "alt" attribute
line 141 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 141 column 98 - Warning: <img> lacks "alt" attribute
line 161 column 22 - Warning: <img> lacks "alt" attribute
line 161 column 63 - Warning: <img> lacks "alt" attribute
line 161 column 112 - Warning: <img> lacks "alt" attribute
line 161 column 162 - Warning: <img> lacks "alt" attribute
line 162 column 11 - Warning: <img> lacks "alt" attribute
line 172 column 15 - Warning: <img> lacks "alt" attribute
line 243 column 22 - Warning: <img> lacks "alt" attribute
line 243 column 63 - Warning: <img> lacks "alt" attribute
line 243 column 112 - Warning: <img> lacks "alt" attribute
line 243 column 162 - Warning: <img> lacks "alt" attribute
line 244 column 11 - Warning: <img> lacks "alt" attribute
line 254 column 15 - Warning: <img> lacks "alt" attribute
line 269 column 22 - Warning: <img> lacks "alt" attribute
line 269 column 63 - Warning: <img> lacks "alt" attribute
line 269 column 112 - Warning: <img> lacks "alt" attribute
line 269 column 162 - Warning: <img> lacks "alt" attribute
line 270 column 11 - Warning: <img> lacks "alt" attribute
line 280 column 15 - Warning: <img> lacks "alt" attribute
line 287 column 258 - Warning: <img> proprietary attribute value "absmiddle"
line 287 column 258 - Warning: <img> lacks "alt" attribute
line 305 column 25 - Warning: <img> lacks "alt" attribute
line 310 column 267 - Warning: <img> lacks "alt" attribute
line 147 column 134 - Warning: trimming empty <font>
line 149 column 133 - Warning: trimming empty <font>
line 290 column 17 - Warning: trimming empty <tr>
line 293 column 133 - Warning: trimming empty <font>
line 295 column 134 - Warning: trimming empty <font>
line 125 column 68 - Warning: <nobr> is not approved by W3C
line 141 column 68 - Warning: <nobr> is not approved by W3C
line 177 column 27 - Warning: <nobr> is not approved by W3C
line 259 column 27 - Warning: <nobr> is not approved by W3C
line 285 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 82 warnings and 0 errors!


The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md