Register - Login
Views: 99797812
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 05:59:49 AM
Jul - Posts by RedToad
Pages: 1 2
RedToad
User
Level: 11


Posts: 21/23
EXP: 5633
For next: 352

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: 5633
For next: 352

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: 5633
For next: 352

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.

19 database queries, 6 query cache hits.
Query execution time: 0.069838 seconds
Script execution time: 0.005361 seconds
Total render time: 0.075199 seconds