Search found 194 matches
- Thu Nov 29, 2018 10:52 pm
- Forum: Misc
- Topic: z80asm equ
- Replies: 11
- Views: 8309
- Mon Aug 14, 2017 12:08 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] make
- Replies: 10
- Views: 13016
Usually we run in a Linux-type environment in Windows, such as cygwin or mingw32. On 8/14/17, Rurigan (sa19620821@...) <lists@...> wrote: Hi there I am trying to make a new target for the compiler. I ran into a trivial problem when trying to rebuild the clib. How do you handle the RM command in the ...
- Wed Jan 18, 2017 10:50 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] Source code migration to github
- Replies: 2
- Views: 6051
Should we migrate also the Wiki pages to Github? On Wed, Jan 18, 2017 at 10:15 PM, alvin (alvin_albrecht@...) < lists@...> wrote: (originally posted in the announcement forum by dom) Following the 1.99B release we've migrated the source code from CVS to git. The new location for repositories is http...
- Sun Jan 15, 2017 4:14 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] New Release for 2016?
- Replies: 22
- Views: 35112
I assume we are now using git issues for problem tracking. I've submitted a first issue that seems to be caused by the C preprocessor. https://github.com/z88dk/z88dk/issues/1 On Sat, Jan 14, 2017 at 10:36 AM, dom (dom@...) < lists@...> wrote: Thanks! I've been looking forward to the change to git. W...
- Sat Jan 14, 2017 9:42 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] New Release for 2016?
- Replies: 22
- Views: 35112
- Sun Jan 01, 2017 7:52 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] New Release for 2016?
- Replies: 22
- Views: 35112
Summary of z80asm changes: [z80asm] Handle input files more predictably: link .o files; assemble any other extension; append a .asm or .o option to the file name to allow just the basename [z80asm] Make a consolidated object file with -o and not -b: all the object modules are merged, the module loca...
- Fri Dec 30, 2016 6:37 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] New Release for 2016?
- Replies: 22
- Views: 35112
I agree with a new version now. z80asm is stable and my work on z80asm2 is progressing slowly. On Fri, Dec 30, 2016 at 6:14 PM, Stefano Bodrato ( stefano_bodrato@...) <lists@...> wrote: I'm back on the basck tool, its relevance for a new version is low. I'd like to fix the file and directory support...
- Sun Oct 09, 2016 11:18 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] z80asm: build a consolidated object file
- Replies: 13
- Views: 11250
- Sat Oct 08, 2016 7:29 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] z80asm: build a consolidated object file
- Replies: 13
- Views: 11250
I've committed z80asm with the possibility of building a consolidated object file. Add consolidated object file. When -o objectfile is given without -b, all the object modules from the command line are merged into one consolidated object file. The module local symbols are renamed <module>_<symbol> t...
- Tue Oct 04, 2016 8:25 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] z80asm: build a consolidated object file
- Replies: 13
- Views: 11250
z80asm does not have the feature of building a consolidated object file. Let me analyze the feature change impacts over the week-end. Yes, I had a go at it, but ended up duplicating most of the link module and still not having a working solution and reverting back to square 1. The problem is the ex...
- Wed Sep 21, 2016 9:17 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] z80asm: build a consolidated object file
- Replies: 13
- Views: 11250
z80asm does not have the feature of building a consolidated object file. Let me analyze the feature change impacts over the week-end. On 9/21/16, alvin (alvin_albrecht@...) <lists@...> wrote: I implemented the multiple asm files to a single object file method in zcc but this does not work either. Tw...
- Sun Sep 11, 2016 6:30 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
Leaking of filehandles fixed in z80asm. It was causing a limit of 512 object files in a library during linking. On Sat, Sep 10, 2016 at 1:04 AM, Paulo Custodio <pauloscustodio@...> wrote: The filehandle leak is in z80asm, but I do not yet know where. I have to investigate further. On Thu, Sep 8, 201...
- Sat Sep 10, 2016 12:04 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
The filehandle leak is in z80asm, but I do not yet know where. I have to investigate further. On Thu, Sep 8, 2016 at 10:19 PM, Paulo Custodio <pauloscustodio@...> wrote: Tested on Linux ubuntu 4.4.0-36-generic, errors attached. On Tue, Sep 6, 2016 at 3:00 AM, alvin (alvin_albrecht@...) < lists@...> ...
- Thu Sep 08, 2016 9:19 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
Tested on Linux ubuntu 4.4.0-36-generic, errors attached. On Tue, Sep 6, 2016 at 3:00 AM, alvin (alvin_albrecht@...) < lists@...> wrote: I'll have another look with fresh eyes later and maybe consider what is going on with the system() calls. I would think system() on windows would close files left ...
- Sun Sep 04, 2016 9:45 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
z80asm changed to use the file given as input, and not replacing the extension with .asm. The sequence is now: - if a .o file is given, and it exists, it is used without trying to assemble first - if the given file exists, whatever the extension, try to assemble it, i.e. there is no more the need to...
- Sun Sep 04, 2016 8:45 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
- Sun Sep 04, 2016 5:31 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
The ~500 limit happened to me once in a bug I tracked down and solved in z80asm. It was the maximum number of open stdio handles in Win32, and was caused, in my case, by opening (fopen) all .o files that were being checked to load into a library and not closing them (fclose). In a normal run these h...
- Fri Sep 02, 2016 10:06 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
No problem. It still does not map to what I'm used to, but I can live with the change. My concern was in project list files. Before the change, the user would write in the list file just the base name of the module, irrespective of it being implemented in c or asm: e.g. to build a library from addit...
- Fri Sep 02, 2016 7:04 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] zcc compile sequence
- Replies: 21
- Views: 17136
I think this change is counter intuitive, in that the tools do not do what one expects. A developer expects a source file xxx.ext to be transformed in xxx.o, where .ext is whatever extension is used in the source language (c, cpp, pas, asm, s, ..). Makefiles expect the same in the predefined .ext.o ...
- Thu Sep 01, 2016 6:01 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] [z80asm] bug with making libraries?
- Replies: 2
- Views: 3625
Both this problem (not being able to generate a library from .o files) and the removal of sym files stem from the design decision that z80asm should ignore the input file extension and always try to open a .asm file first. There is a work-around hardcoded that I assume was done to circumvent this pr...
- Thu Aug 25, 2016 11:09 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] [z80asm] opportunity for small linking optimization
- Replies: 2
- Views: 3615
It is a good idea and I have added it to the wish list for the new z80asm. It cannot be implemented in the current z80asm because the object file representation it uses is a binary image with patching information. To implement link-time optimizations we need to store the intermediate code in the obj...
- Thu Aug 25, 2016 10:52 am
- Forum: z88dk-developers
- Topic: [z88dk-dev] [z80asm] bugs with sym files
- Replies: 3
- Views: 4157
1. z80asm seems to be pruning the sym file and the map file so that unused constants are removed This is by design but I do not know the reason. Probably the idea was not to pollute the object files with symbols that were defined but not used. z80asm collects all defined symbols, marks all that are...
- Sat Aug 06, 2016 8:54 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] Overlay Support for Compilers
- Replies: 8
- Views: 7532
I think the responsibility should be in the z80asm linker so that both C and assembly programs could create overlays. The memory map could be passed in link-time options, maybe through a @-file. The minimum block for the linker is a section in a module, a module being a translation unit. We could ac...
- Thu Aug 04, 2016 8:11 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] Overlay Support for Compilers
- Replies: 8
- Views: 7532
We could use the same syntax as nasm, see http://www.nasm.us/doc/nasmdoc7.html, sections 7.4.1 and 7.4.2 In particular: - segment overlay=page to tell the linker in which this section should be - group to group segments into one group These could be written inside __asm blocks? On Thu, Aug 4, 2016 a...
- Thu Aug 04, 2016 1:32 pm
- Forum: z88dk-developers
- Topic: [z88dk-dev] Remove the z80asm INVOKE directive?
- Replies: 3
- Views: 4147
I had totally forgotten that courtesy we did to the TI world ! Yes, macros seem a much better way to deal with similar situations. We have some kind of OZCALL for the z88 too, right ? Yes, we still have CALL_OZ, CALL_PKG and FPP, but these cannot be removed until we have macros, as they are used in...