Author Topic: ORG: online Z80 IDE and assembler  (Read 45586 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #120 on: October 06, 2012, 02:23:53 pm »
Neither of those instructions exist, even as undocumented ones.

The IX and IY instructions are basically HL instructions with a $DD or $FD in front that causes the next instruction to operate on an index register instead of HL, which means you can never use an index register and HL in the same operation.

On the other hand, ORG currently lacks all the IXH/IXL/IYH/IYL instructions.
« Last Edit: October 06, 2012, 02:25:00 pm by Deep Thought »




Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #121 on: October 06, 2012, 02:38:29 pm »
Oh, I forgot about that, say it was DE instead.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #122 on: October 06, 2012, 09:58:21 pm »
Fixed.

Turns out HX/HY/LX/LY worked, but I forgot to throw in I** as alternatives :P




Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #123 on: October 12, 2012, 11:16:47 pm »
  • With default zoom, the line numbers, the code and the cursor aren't aligned properly (In Chrome and Opera). Changing the zoom will fix it, but has to be set back on other sites, so please fix this:
Seems it magically fixed itself. I have no idea what happened O.O

Haven't tested in Opera though.
« Last Edit: October 12, 2012, 11:17:02 pm by Deep Thought »




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #124 on: October 13, 2012, 09:11:01 am »
It might have been a bug in Chrome.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #125 on: December 03, 2012, 04:11:53 pm »
The bug came back, and I realized that it's because the editor lib I'm using hates it when I change the line height, so I reset it to one.

It doesn't look as good, but at least it's not buggy.

Xeda reported another bug where the editor keeps scrolling to the top in Chrome, but I can't reproduce it—has anyone else noticed that?




Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #126 on: December 03, 2012, 04:13:22 pm »
Well, the alignment of the cursor hasn't been working well for me.
I haven't noticed scrolling to the top, though

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #127 on: December 03, 2012, 04:57:19 pm »
It occurs when I have a long piece of code (so it all doesn't fit on the screen). I can use the arrow keys to move the cursor, but if I try to click and drag the scrolly bar (for the code, not the page) or if I click the arrows to move it down, or anything like that, it scrolls back up, automatically. I have the latest version of Chrome, by the way. I reset a few things (like the cache, via instructions from Deep Thought), but that still didn't help.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #128 on: December 03, 2012, 05:29:56 pm »
Well, the alignment of the cursor hasn't been working well for me.
Even after the update?




Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #129 on: December 03, 2012, 05:46:52 pm »
That was happening as of last week

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #130 on: December 03, 2012, 09:55:54 pm »
I just fixed it earlier today:
It doesn't look as good, but at least it's not buggy.

EDIT: There seems to be another bug where the asterisk next to the file name (which shows whether a file is saved) gets toggled on and off repeatedly, but I can't figure out when it happens because it doesn't happen all the time. If you notice that bug, please tell me what happened that triggered it :)

EDIT2: Fixed that bug.
« Last Edit: December 03, 2012, 11:22:29 pm by Deep Thought »




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #131 on: December 04, 2012, 09:04:24 am »
Wooh, vijfhoek noticed earlier that the bug I was reporting happened when the zoom was not at default. I remember when the cursor bug was introduced, zooming made the cursor bug go away. I did not even realise that I was still zoomed out, but zooming back in fixed the scrolly bug.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #132 on: December 04, 2012, 09:49:22 am »
Glad it works now :) Though I do wish it would allow for zooming in.

EDIT: Zooming in does work for me.
« Last Edit: December 04, 2012, 10:34:18 am by Deep Thought »




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ORG: online Z80 IDE and assembler
« Reply #133 on: January 12, 2013, 05:31:26 pm »
This code seems to be throwing ORG off:
Code: [Select]
     xor a \ ld b,a \ sbc a,ixl \ ld ixl,a
     ld a,b \ sbc a,ixh \ ld ixh,a
     ld a,b \ sbc a,l \ ld l,a
     ld a,b \ sbc a,h \ ld h,a
     ld a,b \ sbc a,e \ ld e,a
     ld a,b \ sbc a,d \ ld d,a
Specifically it is the sbc a,l and sbc a,h that it is seeing as an unrecognised instruction. is it because of how you handled index registers? The opcodes for those are 8Dh and 8Ch, respectively.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: ORG: online Z80 IDE and assembler
« Reply #134 on: January 12, 2013, 09:11:21 pm »
Specifically it is the sbc a,l and sbc a,h that it is seeing as an unrecognised instruction. is it because of how you handled index registers? The opcodes for those are 8Dh and 8Ch, respectively.
Nope, I accidentally them completely for some reason :P

I should really organize the opcode table in a reasonable format. Right now they're in a roughly random order, and as a result the two instructions you mentioned (and possibly others) were left out. (By the way, they should be 9Dh and 9Ch.)