flat assembler
Message board for the users of flat assembler.
Index
> Non-x86 architectures > FASMARM v1.44 - Cross assembler for ARM CPUs Goto page Previous 1, 2, 3 ... 8, 9, 10 ... 31, 32, 33 Next |
Author |
|
setrodox 28 Aug 2006, 13:31
Sorry, seems i haven't read the thread well.
Another question, are there any plans about thumb mode yet? |
|||
28 Aug 2006, 13:31 |
|
vid 28 Aug 2006, 13:34
try reading "readme.txt" in package
|
|||
28 Aug 2006, 13:34 |
|
setrodox 28 Aug 2006, 14:06
thanks, i did look in the readme before, and greped for thumb, forgot the case insensitivity flag though.
|
|||
28 Aug 2006, 14:06 |
|
vid 28 Aug 2006, 14:42
read it entire at least once
|
|||
28 Aug 2006, 14:42 |
|
setrodox 28 Aug 2006, 14:54
yes, i should.
though, the itching in the fingers when wanting to code some gba things was stronger this time |
|||
28 Aug 2006, 14:54 |
|
Dex4u 29 Aug 2006, 04:47
Here is a simple GBA demo, code with fasmarm.
Code: ; GBA Header and test prog by Dex,Coded with FasmARM.; c:\fasmarm test.asm test.gbaformat binaryorg 0 ; code starts at offset 0.use32 ; use 32-bit code. b rom_startNintendoLogo: db 0,0,0,0,0,0,0,0,0,0 ; Nintendo Logo space(156 bytes). db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0GameTitle: db "TEAM DEX4U " ; Game Title (12 bytes).GameCode: db "1234" ; Game Code (4 bytes).MakerCode: db "_$" ; Maker Code (2 bytes).FixedValue: db 0x96 ; Fixed value (1 byte).MainUnit: db 0 ; Main unit code (1 byte).DeviceType: db 0 ; Device Type (1 byte).ReservedBytes: db 0,0,0,0,0,0,0 ; Reserved (7 bytes)SoftwareVersion: db 0 ; Software version (1 byte).ComplementCheck: db 0 ; Complement check (1 byte).Reserved2: db 0,0 ; Reserved (2 bytes).align 4;********************************;; Rom start. ;;********************************;rom_start: mov r0, 0x4000000 mov r1, 0x400 add r1, r1, 3 str r1, [r0] mov r0, 0x6000000 mov r1, 0xff mov r2, 0x9600loop1: strh r1, [r0], 2 subs r2, r2, 1 bne loop1LetsLoop: b LetsLooptimes 20000- ($-0) db 0 I am porting Dex4u OS, to ARM with fasmarm . http://www.dex4u.com/images/gbademo.jpg Thanks "Tomasz Grysztar" and "revolution" for both your work. |
|||
29 Aug 2006, 04:47 |
|
setrodox 29 Aug 2006, 08:45
that gba header won't work on a real gba, the logo needs to be the nintendo logo (it's kind of a checksum), and the checsum at the end shouldn't be 0 either.
|
|||
29 Aug 2006, 08:45 |
|
UCM 29 Aug 2006, 15:09
So THAT's why the nintendo logo is garbled when the cartridge is dusty
|
|||
29 Aug 2006, 15:09 |
|
cloud 29 Aug 2006, 15:55
I have tryed this on my real GBA and works fine, i have also seen the code in the screen shot and it uses the same header. They seem to be real GBA and nintendo DS device's to me
All the Flash rom cartridge's that i have heard of come with a some kind of menu which does the checksum! plus it would be border line ileagle to put a real rom logo and checksum ect....but as you can see from the above screenshot does not need it |
|||
29 Aug 2006, 15:55 |
|
Dex4u 29 Aug 2006, 20:10
Well i think you may of been reading the wrong tuts, as it works fine on my real GBA and DS .
And its used in this demo: http://www.dex4u.com/images/gbademo.jpg Remember 99% of people that try it, will be using a flash cart that boots to a menu. |
|||
29 Aug 2006, 20:10 |
|
setrodox 30 Aug 2006, 15:23
well, with a menu it works obviously, as the header of that launcher gets checked by the gba, the menu then just jumps into the code of the app/game, without the header. but there are still old cartridges around which don't have a launcher/menu. you disable those people to use dex4u
|
|||
30 Aug 2006, 15:23 |
|
Dex4u 30 Aug 2006, 18:04
Your right, But i have a multi-boot compliant header that is much bigger, and can be used for such a old cartrighes, but i tryed to keep it simple for a basic demo .
|
|||
30 Aug 2006, 18:04 |
|
revolution 30 Aug 2006, 23:56
I have updated the attachment at post #1 in this thread.
Two changes: 1) Support for FASM 1.67.x, now you can compile the LINUX binary with v1.67.7 2) Added the accounting info such as SizeOFCode etc. as dicussed with vid a few days ago. Dex4u wrote: I am porting Dex4u OS, to ARM with fasmarm setrodox wrote: Another question, are there any plans about thumb mode yet? |
|||
30 Aug 2006, 23:56 |
|
revolution 21 Sep 2006, 13:48
FASMARM has it's own webpage http://arm.flatassembler.net
Tomasz Grysztar was kind enough to offer some web space so many thanks go to him for that. In the interests of keeping this message board free from excess attachments I will remove the attachment at the head of this thread. So if you need to download FASMARM go to the url above. The page is very basic and minimalistic, so don't expect too much. Just the essentials. As usual, any problems or question etc. feel free to post them here. |
|||
21 Sep 2006, 13:48 |
|
HyperVista 21 Sep 2006, 14:52
Fantastic!!! Thank you very much revolution and Tomasz!!
[edit] deleted offensive language. sorry vid, got excited about fasmarm and lost control for a minute [/edit] Last edited by HyperVista on 21 Sep 2006, 18:14; edited 1 time in total |
|||
21 Sep 2006, 14:52 |
|
vid 21 Sep 2006, 15:39
i miss nick of author there
|
|||
21 Sep 2006, 15:39 |
|
Madis731 21 Sep 2006, 18:08
WOW!
|
|||
21 Sep 2006, 18:08 |
|
dead_body 24 Sep 2006, 11:06
can somebody, post here a link to arm emulators for windows?
|
|||
24 Sep 2006, 11:06 |
|
vid 24 Sep 2006, 16:01
you can find "Device Emulator" downloadable from Microsoft, but you will also need ActiveSync, you can download it too. or they are installed with Visual Studio 2005.
|
|||
24 Sep 2006, 16:01 |
|
Goto page Previous 1, 2, 3 ... 8, 9, 10 ... 31, 32, 33 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.