Hi,
Just to let you guys know, me & ARM9 have forked byuu's bass assembler & have added all N64 instructions (CPU, RSP, RDP)
You can grab it from here: https://github.com/ARM9/bass
Features:
100% Main CPU MIPS instructions & Floating Point Unit (COP1)
100% RSP Integer Vector (COP2) & MIPS instructions
100% RDP GPU Commands
We have also added many MIPS pseudo instructions.
I have also converted all of my N64 homebrew to now use bass: https://github.com/PeterLemon/N64
Hope you like it =D
New N64 Assembler by ARM9 & krom
Re: New N64 Assembler by ARM9 & krom
Hi krom! Nice to see you back!
What bass is exactly? A converter of assembly code to bin? For example, if I (you actually) write N64 assembly code, I can compile it, put it on my N64 and running it am I right?
So, if I write a C API which generate N64 assembly text code, I can use this to convert it to binary right?
What bass is exactly? A converter of assembly code to bin? For example, if I (you actually) write N64 assembly code, I can compile it, put it on my N64 and running it am I right?
So, if I write a C API which generate N64 assembly text code, I can use this to convert it to binary right?
Re: New N64 Assembler by ARM9 & krom
bass is a SNES assembler originally written by byuu (author of bsnes/higan): http://byuu.org/tool/bass/Narann wrote:What bass is exactly?
Me & ARM9 have added lots more CPU's to the official bass, culminating in this version which supports all the N64 CPU's.
An assembler converts machine code human readable instructions to a binary file, so yes this will convert MIPS assembly into a binary.Narann wrote:A converter of assembly code to bin?
Also it has RSP instructions which let you program the special integer vector unit of the N64,
& I have added RDP GPU GFX commands, to make it easy to render GPU command lists of primitives to the screen.
If you check out my simple tests from my github, you will see lots of examples of me testing each portion of the N64:
I have fractal demos which test the co-processor 1 (COP1) floating point unit (FPU) of the main N64 CPU:

https://github.com/PeterLemon/N64/tree/ ... rot/Double
I have done many RDP tests with more to come as I explore the GPU of the N64:

https://github.com/PeterLemon/N64/tree/ ... A4B320x240
I have also done some RSP demos that convert SNES tiles to N64 linear format textures & display them using rectangles using all 8 integer vector pipelines at once:

https://github.com/PeterLemon/N64/tree/ ... BPPTile8x8
I hope this helps you out, I'll try todo lots more demos & experiments on the N64, & post here with anything good =D
Re: New N64 Assembler by ARM9 & krom
Thanks krom! I love your code comments! They really help to understand! 

Who is online
Users browsing this forum: No registered users and 1 guest