Go to advanced search

by m3ntal7
Fri Jun 27, 2014 6:37 pm
Forum: Bare metal, Assembly language
Topic: Ultimate Smart Move: [A+B*C], LDR =I, & More!
Replies: 6
Views: 1990

Re: Ultimate Smart Move: [A+B*C], LDR =I, & More!

tufty: Just an example to prove that FASM can do anything and there are many different ways to implement this. I'm not aware of all the cases where FASMARM will use mvn/etc (for mov) and do not care. I have my own assemblers and versions of FASM. use.mov? handles the most common cases (example, pow...
by m3ntal7
Thu Jun 26, 2014 6:36 pm
Forum: Bare metal, Assembly language
Topic: Ultimate Smart Move: [A+B*C], LDR =I, & More!
Replies: 6
Views: 1990

Re: Ultimate Smart Move: [A+B*C], LDR =I, & More!

tufty: You've misunderstood arm modified constants... Wrong. You don't understand what the code does. It uses mov for any byte rotated right ("use.mov?"). For mov, FASMARM uses mov/ror/mvn/etc internally, I just didn't have time to check for negated values. mov has its original meaning until the up...
by m3ntal7
Wed Jun 25, 2014 9:41 pm
Forum: Bare metal, Assembly language
Topic: Ultimate Smart Move: [A+B*C], LDR =I, & More!
Replies: 6
Views: 1990

Ultimate Smart Move: [A+B*C], LDR =I, & More!

Download Smart-Move + Examples New "Smart-Move" immediate with PC relative load from nearby literal table - ldr r, [pc, p-$-8] - or optional movw/movt for FASMARM. =i prefix for "move 32BIT immediate" (compatible with GAS/GCC). =& for PC relative load. Scroll down for EASY-Move+DP upgrade (ADD, SUB...
by m3ntal7
Sun Jun 22, 2014 9:43 pm
Forum: Bare metal, Assembly language
Topic: PiFox - Bare Metal 3D rail shooter written in ARM assembly
Replies: 13
Views: 3747

Re: PiFox - Bare Metal 3D rail shooter written in ARM assemb

Very well written. My Sprite Fight game/example (released January) uses exactly the same names and similar design: setup.player, setup.enemy, draw.sprites, reset.sprites, update.sound, update.input, etc.

(PS: New "Smart-Move" 32BIT, PC Relative Load, LDR=I for FASMARM)
by m3ntal7
Tue Jun 17, 2014 7:30 pm
Forum: Bare metal, Assembly language
Topic: New Micro-FASM! Fastest Assembler
Replies: 1
Views: 3764

Re: New Micro-FASM! Fastest Assembler

FASM MACRO TUTORIAL New Macro Tutorial. Subjects: * Data Types, Sizes * Labels: label, at, @@, align * Numeric Constants, Expressions * Inclusion: include, file * Origin, Virtual, $/$$ * Load & Store, Extended p:: * Definitions: equ, define, fix * Macros: macro, struc, rept * Restore: restore, purg...
by m3ntal7
Sun Jun 15, 2014 7:21 am
Forum: Bare metal, Assembly language
Topic: New Micro-FASM! Fastest Assembler
Replies: 1
Views: 3764

New Micro-FASM! Fastest Assembler

New Micro-FASM , optimized version of FASM. * Fastest ever. FASM.ASM assembles in <0.1 second on my outdated PC. See for yourself: Click Compile * FASM.EXE is only 51K. Written in 100% effecient assembler * Support multiple CPUs/OSs: Intel, ARM, Java, 6502. * Define unrecognized CPUs, assemblers, c...
by m3ntal7
Mon Jun 09, 2014 2:08 pm
Forum: Bare metal, Assembly language
Topic: New Site: ARM Examples, Graphics, Games, Videos
Replies: 0
Views: 1414

New Site: ARM Examples, Graphics, Games, Videos

My new web site for FASM programming . 10,000s of functions and macros . Royalty FREE graphics, fonts, icons, cursors. Preview of some ARM functions: ; clear.screen ; draw.pixel x, y, c ; draw.line.h x, y, w, c ; draw.line.v x, y, h, c ; draw.box x, y, w, h, c ; draw.box.t x, y, w, h, c, a ; draw.o...
by m3ntal7
Tue Mar 18, 2014 10:54 pm
Forum: Bare metal, Assembly language
Topic: New OS/UI/Graphics + Emulator. 7 Examples
Replies: 1
Views: 2294

Re: New OS/UI/Graphics + Emulator. 7 Examples

Update: File I/O is now supported via Angel ARM semi-hosting. See EXAMPLES\FILE\FILE.BAT. Includes 8 examples + 3 project templates. main puts name putr get.filename name puts filename putr create filename .if false go .error .end text.copy buffer, output write buffer, size .if false go .error .end...
by m3ntal7
Tue Mar 11, 2014 4:50 am
Forum: Bare metal, Assembly language
Topic: Bare Metal Examples
Replies: 33
Views: 16762

Re: Bare Metal Examples

Thanks for your comments and examples. I use revolution's FASMARM now for all my ARM assembly programming (namely GBA, NDS, & Raspberry Pi). Please post ARM examples in the Non-X86 forum to get users interested in Raspberry PI. I hate being the only one who does this. m68000 variant, would be great ...
by m3ntal7
Tue Mar 11, 2014 1:11 am
Forum: Bare metal, Assembly language
Topic: Bare Metal Examples
Replies: 33
Views: 16762

Re: Bare Metal Examples

krom: Hi. I am pretty expert at the SNES, which I use byuu's 65c816 bass assembler for everything Why not FASM? Did you know, FASM can used for programming ANY CPU/system , MOS 6502 (Atari 2600, Commodore 64, etc), Zilog Z80, Motorola 68K (Amiga, Sega Genesis, Neo Geo), ARMv7, even Java bytecode, d...
by m3ntal7
Mon Mar 10, 2014 1:06 am
Forum: Bare metal, Assembly language
Topic: New OS/UI/Graphics + Emulator. 7 Examples
Replies: 1
Views: 2294

New OS/UI/Graphics + Emulator. 7 Examples

Hi, I want to share some ARM graphics examples for QEMU using the Versatile PB interface with Primecell LCD controller . It is useful for designing UI/graphics/interfaces for Raspberry PI which seems to be a popular request here. * Fast and easy to use . Instant compile in < 1 second * 7 graphical e...
by m3ntal7
Sun Mar 09, 2014 10:10 am
Forum: Bare metal, Assembly language
Topic: Bare Metal Examples
Replies: 33
Views: 16762

Re: Bare Metal Examples

I am gonna checkout the NES Zapper (Light Gun) for my next input project =D
Awesome. A duck-hunt style game is easy to make. I have written an assembler for MOS 6502 CPU that includes a Nintendo/NES example. Check it out here.

Go to advanced search