flat assembler
Message board for the users of flat assembler.

Index > Search found 44 matches

Author Message
Topic: 512-byte coding contest
marste

Replies: 21
Views: 30258

Post Forum: Main   Posted: 20 Jan 2021, 23:04   Subject: Super Micro Chess :)
Pity I didn't see this one, very interesting, and I might even submit my chess playing program (just posted here comment https://board.flatassembler.net/topic.php?t=17724)

Even if to be fair I shou ...
Topic: Chess game using asm
marste

Replies: 3
Views: 7849

Post Forum: Main   Posted: 20 Jan 2021, 22:25   Subject: Chess game using asm
Saw just today but this things are timeless!...
Here you can find a stronger (few ply), shorter (455 bytes) and more correct (no illegal moves done) comparable (run in DOS or DOSBOX) version: http:// ...
Topic: [fasmg] Optimal relocation
marste

Replies: 9
Views: 19479

Post Forum: Main   Posted: 20 Sep 2017, 12:23   Subject: [fasmg] Optimal relocation
For me permutations will be good (I have a condition flexible enough), just that with 6 "mobile pieces" 720 will be the overall possiblities (I can anyway pilot more result and reduce search ...
Topic: [fasmg] Optimal relocation
marste

Replies: 9
Views: 19479

Post Forum: Main   Posted: 20 Sep 2017, 08:37   Subject: [fasmg] Optimal relocation
The proposed approach might be good if you have some condition that can determine “without search” the optimal solution.

I’ve a different scenario. To simplify, imagine that I should fit the ...
Topic: [fasmg] Optimal relocation
marste

Replies: 9
Views: 19479

Post Forum: Main   Posted: 19 Sep 2017, 13:45   Subject: [fasmg] Optimal relocation
Do you suggest to start with something like this?


Relocatablecode.inc:
if PIECE_1_LOC = THISLOC
Relocatable code…
PIECE_1_LOC = THISLOC
end if
if PIECE_2_LOC = THISLOC
...
Topic: [fasmg] Optimal relocation
marste

Replies: 9
Views: 19479

Post Forum: Main   Posted: 19 Sep 2017, 09:09   Subject: [fasmg] Optimal relocation
Here I’m again to see if fasmg can again exceed my expectations… Cool

In my little program I’ve some code that I can relocate. More: I need to relocate it in order to respect some constrain th ...
Topic: [fasmg] Parametrized assembly
marste

Replies: 13
Views: 18316

Post Forum: Main   Posted: 12 Sep 2017, 21:44   Subject: [fasmg] Parametrized assembly
There was a bug in the string storage, only uncovered when the total length of text generated by -I parameters was more than 256.
Please try the "hx7tl" version.

It works now! Smile
Topic: [fasmg] Parametrized assembly
marste

Replies: 13
Views: 18316

Post Forum: Main   Posted: 11 Sep 2017, 18:36   Subject: [fasmg] Parametrized assembly
Following one example of this:


nome="1kRealChess81-F23-DEBUG"
../fasmg \
-i 'ROMPLATFORM equ "ZX81"' \
-i 'FLICKERFREE=0' \
-i 'ALFABETA=1' \
-i ' ...
Topic: [fasmg] Parametrized assembly
marste

Replies: 13
Views: 18316

Post Forum: Main   Posted: 07 Sep 2017, 23:28   Subject: [fasmg] Parametrized assembly
I've got a segmentation fault seems after using 16 times the "-i" options (in one single compile): there is such a limit?
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 16 Jun 2017, 08:59   Subject: eZ80 includes for fasmg
...ti84pceg.inc

I think this has nothing to do with ez80 includes nor with fasm. Probably TI Calc forums are a better place to ask.
Topic: [fasmg] Parametrized assembly
marste

Replies: 13
Views: 18316

Post Forum: Main   Posted: 15 Apr 2017, 17:38   Subject: [fasmg] Parametrized assembly
Great Tomas!!! Above any excpectations!!!

After your first reply I implemented the renaming file trick, but I'm happy to undo everything and start using this fantastic possibility!!! Very Happy

I think ...
Topic: [fasmg] Parametrized assembly
marste

Replies: 13
Views: 18316

Post Forum: Main   Posted: 15 Apr 2017, 08:21   Subject: [fasmg] Parametrized assembly
I'm trying to produce 2 different binaries from a single compilation batch.

I would like to know if there is a way to call fasmg defining externally some symbol, e.g.
fasmg -define PAR=VAL1 file.a ...
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 21 Mar 2017, 21:15   Subject: eZ80 includes for fasmg
Try replacing this line in listing macro: ldisplay ': 'with: repeat 1, n:__line__
ldisplay ' (',__file__,',',`n,'): '
...
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 21 Mar 2017, 18:18   Subject: eZ80 includes for fasmg
Another question that will be good for a debugger input: is possible to add the source filename and source line together with the current assembled address?

E.g. (just to give the idea, formatting ...
Topic: Chances to debug a .com file with source (labels/comments/)?
marste

Replies: 29
Views: 72120

Post Forum: DOS   Posted: 29 Sep 2016, 09:57   Subject: Chances to debug a .com file with source (labels/comments/)?
Ciao rugxulo!

I already managed long time ago with Turbo Debugger and delivered successfully Super Micro Chess! Smile

Your information can be anyway useful for someone else in my situation!

Than ...
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 04 Aug 2016, 16:13   Subject: eZ80 includes for fasmg
Very good, like this is almost a normal listing! Smile

Thank you!!
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 01 Aug 2016, 16:19   Subject: eZ80 includes for fasmg
For some reason seems postpone is very much postponed... but I cannot say how to change:


include 'ez80.inc'

;-----------------

define Listing

define ldisplay 13,10,10,'LISTING',13,10,10 ...
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 28 Jul 2016, 18:18   Subject: eZ80 includes for fasmg
PS for point 2: proposed solution do not work since also listing macro use display!!
Another solution have to be found, as for example giving an optional parameter to display instruction to indicate ...
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 28 Jul 2016, 17:56   Subject: eZ80 includes for fasmg
I managed to compile the first version of the source! Smile

Two notes for information:

1. @jacobly: don't know why but long addresses were always outputted as long instead of word. I had to force w ...
Topic: eZ80 includes for fasmg
marste

Replies: 18
Views: 44782

Post Forum: Non-x86 architectures   Posted: 27 Jul 2016, 09:15   Subject: BRAVO!!
In some spare time I was trying to build the Z80 compiler myself...
Good that I was so slow: this version is much better of current mine!
I'm trying to recompile with it a little modified version of ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT.
Jump to:  

Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.