- Top Stats

Top Posters Top Topic Starters Top Topics
AMSDOS 1292
arnoldemu 1128
TFM 1124
ervin 746
ronaldo 406
AMSDOS 56
arnoldemu 51
ervin 42
EgoTrip 35
Arnaud 33
FutureOS corner - 72295 Views TFM/FS 07:12, 01 October 10
Example Z80 as... - 67587 Views arnoldemu 10:59, 04 April 10
#CPCtelera 1.4... - 34039 Views ronaldo 13:59, 11 May 15
BASIC programm... - 32139 Views arnoldemu 16:23, 22 May 09
CHAMP Assemble... - 25635 Views Bruce Abbo... 12:59, 16 January 14


Author Topic: ORGAMS, the new CPC assembler!  (Read 7430 times)

0 Members and 1 Guest are viewing this topic.

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 480
  • Country: de
    • index.php?action=treasury
  • Liked: 235
Re: ORGAMS, the new CPC assembler!
« Reply #25 on: 23:53, 20 July 16 »
@madram: just a short question: I tried the assembler for the first time. The "ret" command wont be recognized by the editor as a command but as a label? What do I do wrong? (It's too difficult to understand the French user guide correctly.)
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 954
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 691
Re: ORGAMS, the new CPC assembler!
« Reply #26 on: 11:12, 21 July 16 »
You must put a Space before the ret command as the other z80 opcodes or they Will be taken as label.
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 480
  • Country: de
    • index.php?action=treasury
  • Liked: 235
Re: ORGAMS, the new CPC assembler!
« Reply #27 on: 13:21, 21 July 16 »
...ah, that's easy! :)
Thank you very much for your short hint & help.
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 954
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 691
Re: ORGAMS, the new CPC assembler!
« Reply #28 on: 13:48, 21 July 16 »
You're welcome.
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline madram

  • CPC664
  • ***
  • Posts: 68
  • Country: fr
  • Liked: 44
Re: ORGAMS, the new CPC assembler!
« Reply #29 on: 05:39, 22 July 16 »
Note: Orgams is very permissive for labels. 'ret' could be a label, not an advisable one for sure. Even 'd' is accepted, handy for quick debugging shortcut (i.e. 'dd' in monitor).

But you don't need any spaces when entered text can't be a label :
Code: [Select]
; Miaou
lda,-1 ; expand to  LD A,-1
exaf,  ; expand to  EX AF,AF


Note2: there is an English user guide, thanks to Shakespearean CPCWiki members: UserGuide - ORGAMS. Will be on disk in the incoming release.
« Last Edit: 05:43, 22 July 16 by madram »

Offline madram

  • CPC664
  • ***
  • Posts: 68
  • Country: fr
  • Liked: 44
Re: ORGAMS, the new CPC assembler!
« Reply #30 on: 09:28, 11 August 16 »

Thanks to the wonderful job of Drill and Hicks, I'm glad to announce the new official Orgams release: 'Codigo Con CPC'


HFE: http://orgams.wikidot.com/local--files/releases/Orgams-Codigo-Con-CPC.hfe
HFE+DSK+ROMs: http://orgams.wikidot.com/local--files/releases/Orgams-Codigo-Con-CPC.rar


User Guide: UserGuide - ORGAMS
Camembert: GuideUtilisateur - ORGAMS


Code: [Select]
Release notes 'Codigo Con CPC'


Bug fix:
* Bloc repetition was corrupted when corresponding source was overlapping 2 banks
* Division with MSB set in divisor (e.g. &240/&C0) was corrupted
* Sign was lost with sub-expression (e.g. -1/[1/1] or -1 mod [4 mod 5])
* Negative values for FILL, ORG and repetitions raise error.
* Bad expression for repetitions (e.g. undefined label) raise error.
* Proper binary save from 9800-HIMEM zone
* Returning to basic won't reset 9800-HIMEM zone anymore
* 'ORG &100' now correctly parsed (not as 'OR G AND 100')
* Assembling in RSX workzone (e.g. A6FC+) won't corrupt firmware (Orgams-wise) anymore
* Reset CRTC in RESTORE
* Mute AY in BRK/RESTORE
* At first invocation of BRK/Monogams, select RAM by default (lower & upper)
* Robuster memory detection
* Fix stack going down at each assemble / editor access.
* Numeric pad is active when invoking |m
* Block markers properly corrected when importing file
* LD B,(IX) doesn't crash anymore
* LD H,IXH doesn't crash anymore
* Miscellaneous search bugs (CONTROL F) corrected.


New features:
* Trace: Source visualization while debugging (imperfect, Orgams can be lost with conditional or repeated blocs)
* Trace: Memory visualization while debugging
* Trace: CONTROL UP/DOWN for faster navigation
* Monitor: Binary display with '?' command
* Monitor: Display restored zone when returning to BASIC
* Assembler: Can assemble up to #BF80, and in #C000-#FFFF page
* Editor: Free cursor
* Editor: TAB to repeat previous search (text or label)
* Editor: ESC to stop current search (only works with CONTROL F)
* Editor: CONTROL-ESPACE put/remove BRK
* Editor: CONTROL-C to display CATalogue
* Editor: Can join lines (DEL at first column). Corollary : 'DEL' after 'RETURN' cancels an unexpected split
* Editor: Use '&' for hexa, like in BASIC and MAXAM.
* Editor: Allow (IX) as shortcut for (IX+0)
* General: Use RAM from very last bank (&FF) to alleviate conflict with 256k RAM-DISC.
* General: Extension and Monogams ROMs can be burned everywhere (i.e. ROM 1 to 127)
* General: Allow |o,"source" (no need to write ".o")


Comming Next:
* Surprise
* Another surprise

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
Re: ORGAMS, the new CPC assembler!
« Reply #31 on: 23:21, 11 August 16 »
SuperCool! Will give it a try very soon!!!  :) :) :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 868
  • Country: fr
  • Liked: 822
Re: ORGAMS, the new CPC assembler!
« Reply #32 on: 00:20, 11 January 17 »
I am getting stupid I guess. I did some tests with Orgams yesterday. Everything worked fine.
I tried again today, now everything is well assembled, but Jumping into the program does NOT execute it. It shows a little flickering of the screen (as if the RESTORE mnemonic was called) and returns to the assembler. I tried very simple program like:
ORG #1000
ld a,7
call #bb5a
ret


or even:
ORG #1000
jr $


The same behavior happens! It returns to the Assembler without doing anything.
I tried to save as binary, loaded in Basic and my code works. What am I doing wrong? The parameter at the top seem fine to me (#7fc0, LRAM, URAM).


The only thing I did today was plugging the PlayCity and typed some code to detect it (it works).


Thanks.
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 868
  • Country: fr
  • Liked: 822
Re: ORGAMS, the new CPC assembler!
« Reply #33 on: 00:37, 11 January 17 »
Mmmh, Ctrl+1 + Jump works, but Ctrl+2 returns to the Assembler.
But making some tests with the PlayCity really makes Orgams behave strangely.


(I have the latest version)
« Last Edit: 00:39, 11 January 17 by Targhan »
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 954
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 691
Re: ORGAMS, the new CPC assembler!
« Reply #34 on: 01:29, 11 January 17 »
Did you think about the "ent adress' command ?
If not, Orgams will do a jp #9000


My playcity is plugged and i use Orgams all the days. No problem with OrgAms.
Of course, i've ever do some test with my playcity...
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 868
  • Country: fr
  • Liked: 822
Re: ORGAMS, the new CPC assembler!
« Reply #35 on: 10:28, 11 January 17 »
"ENT" exists on Orgams? I never used it, but you must be right. Yet the "Jump" indicates #1000 (which is where my code is assembled). I'll try this evening, thanks!
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 868
  • Country: fr
  • Liked: 822
Re: ORGAMS, the new CPC assembler!
« Reply #36 on: 23:22, 11 January 17 »
Well, you were right all along! Missing ENT, but I don't understand how I missed the "jump" pointing at the wrong address, I'm pretty sure I triple checked. Anyway, problem solved. Thanks !
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 954
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 691
Re: ORGAMS, the new CPC assembler!
« Reply #37 on: 00:14, 12 January 17 »
Great !
Using OrgAms, a playcity on réal hardware !
I've an idea of what you're doing...  ;D
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 868
  • Country: fr
  • Liked: 822
Re: ORGAMS, the new CPC assembler!
« Reply #38 on: 00:15, 12 January 17 »
I'm sure you have :).
Targhan/Arkos

Arkos Tracker 2 - alpha 5 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime