Search found 6 matches

by ahjelm
Sat Nov 13, 2021 9:01 am
Forum: Bug reports
Topic: DATA init w. asm_memcpy fails on 8080
Replies: 10
Views: 6270

Re: DATA init w. asm_memcpy fails on 8080

dom wrote: Fri Nov 12, 2021 11:01 am No worries - just email me/upload somewhere the changed files if you want and I can add it in.
I sent you an email as discussion is wandering a bit off topic :)
by ahjelm
Fri Nov 12, 2021 10:57 am
Forum: Bug reports
Topic: DATA init w. asm_memcpy fails on 8080
Replies: 10
Views: 6270

Re: DATA init w. asm_memcpy fails on 8080

Ok. I probably took a shortcut as I started implementing direct on a downloaded nightly build, but I guess I will need to clone repo from GitHub to get things right? Not familiar with GitHub, but I've created an account, and I guess I'll figure things out.. I'll be back.
by ahjelm
Thu Nov 11, 2021 7:16 pm
Forum: Bug reports
Topic: DATA init w. asm_memcpy fails on 8080
Replies: 10
Views: 6270

Re: DATA init w. asm_memcpy fails on 8080

Yes! With that lib added in cfg file I could reverse my workaround code and still get variables initiated. Thanks! Off topic: Is there some tutorial or documentation/procedure on how to submit a new target to the z88dk? Or some review one must pass, etc. Perhaps you could point me in the right direc...
by ahjelm
Thu Nov 11, 2021 2:55 pm
Forum: Bug reports
Topic: DATA init w. asm_memcpy fails on 8080
Replies: 10
Views: 6270

Re: DATA init w. asm_memcpy fails on 8080

Hi, my config file (micro8085.cfg) is: # Asm file which contains the startup code (without suffix) CRT0 DESTDIR\lib\target\micro8085\classic\micro8085_crt0 # Any default options you want - these are options to zcc which are fed through to compiler, assembler etc as necessary OPTIONS -m -O2 -SO2 -M -...
by ahjelm
Wed Nov 10, 2021 8:27 pm
Forum: Bug reports
Topic: DATA init w. asm_memcpy fails on 8080
Replies: 10
Views: 6270

Re: DATA init w. asm_memcpy fails on 8080

Yes, my workaround code was written to accept also the 8080. For 8085 the jp k/nk is fine but I believe one must use pre decrement of the loopvar and jump out when flag is true, otherwise there will be one extra copy performed. This code snippet works in my workaround section: datacpy: dec bc jp k,d...
by ahjelm
Tue Nov 09, 2021 9:47 pm
Forum: Bug reports
Topic: DATA init w. asm_memcpy fails on 8080
Replies: 10
Views: 6270

DATA init w. asm_memcpy fails on 8080

Hi. I'm working with a classic lib port for a 8085 board "Micro8085" (https://hackaday.io/project/176653-micro8085) which I've developed. Target has ROM/EEPROM at $0000 and RAM at $8000-FFFF (i.e. crt_model 1). I've followed the documentation on how to add a new target, and I believe that ...