26 November 2015, 09:43 | #61 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
|
26 November 2015, 10:15 | #62 | |
Registered User
Join Date: Nov 2012
Location: Willich/Germany
Posts: 233
|
Quote:
No, I didn't split this source up for two reasons: the label renaming was way easier to do in one file and the source itself is almost kept in its original state. Only a few subroutine hooks have been put in so there was no real need to have many files. However, I have some other separate source files for the system specific initialisation and emulation routines. So I can assemble the whole source for the X68000 and the Atari Falcon030. |
|
26 November 2015, 15:02 | #63 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
|
But what would you run it on?
Sure, but if at any one time you'd only have to assemble 100KB then it would be faster. Quote:
It certainly makes sense for code you write from scratch. Yeah, you might be right about that. |
|
26 November 2015, 16:41 | #64 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
Anything that can run the virtual machine. But it's OT here. PM me if you want to know more.
Quote:
Debug builds were done with "opt 0" option (no optimization) to care about assembly times. Doesn't answer the question. I meant, what is the criterion for splitting ? I split only reusable, modular code. |
|
27 November 2015, 10:34 | #65 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
|
Quote:
For me size is certainly part of it. A 1mb source is just not fun to deal with. Actually, a 100kb source may already be a bit much. Very annoying if it can't be split up in parts that make sense. |
|
27 November 2015, 13:11 | #66 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
I don't remember exactly. Perhaps 30 secs or so.
Anyway, much less than the time i'd have spent coping with many source fragments. Quote:
Perhaps it's just the editor that's ill-suited for it ? I see little difference in having several files open in an editor, in comparison to have several regions in the same file. Conceptually it's the same. |
|
27 November 2015, 13:19 | #67 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
|
That's not short.
Quote:
Feels unorganized. I use FrexxEd, so that's not the problem. FrexxEd has folding, so it should actually be a little better in that editor. No, it feels different. It's probably just comes down to personal preference. |
|
27 November 2015, 13:29 | #68 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
|
Sure. But when you change a global setting (like some equ used everywhere) you have to reassemble everything anyway. I don't want to type 10 commands where one is enough.
Furthermore, even when i split, i don't assemble separately. My viewer merges everyone together with include directives If it comes down to personal preference, then the matter is settled |
27 November 2015, 16:14 | #69 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
|
Quote:
Indeed People should work in a way that works best for them. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
4th tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 11 | 10 April 2013 20:32 |
3rd tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 6 | 26 March 2013 15:57 |
First tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 46 | 18 March 2013 12:33 |
2nd tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 10 | 17 March 2013 11:49 |
Coding for A500 / A1200 | helmut | request.Apps | 2 | 26 January 2012 15:55 |
|
|