Search found 304 matches

by marcelk
17 Aug 2019, 06:01
Forum: Kit assembly results
Topic: Gigatron trying to start but doesn't
Replies: 18
Views: 397

Re: Gigatron trying to start but doesn't

Indeed, there is a file size limit, supposedly of 5 MB per attachment. "HTTP error" is phpBB's poor way of saying "too big" (or "wrong extension"). jpeg and jpg is fine of course. The forum doesn't scale down images by itself. I normally have to make pictures a bit smaller before uploading.
by marcelk
15 Aug 2019, 07:31
Forum: Escape Meta Alt Control Shift
Topic: XzentriX Retro Computer Party at Seeshaupt / Germany
Replies: 1
Views: 39

Re: XzentriX Retro Computer Party at Seeshaupt / Germany

Thank you so much! We're sincerely flattered by all these initiatives...
by marcelk
15 Aug 2019, 05:58
Forum: Hardware and software hacking
Topic: Why vertical sync starts so early
Replies: 1
Views: 63

Re: Why vertical sync starts so early

Is that correct in general or it does not matter? Well spotted! We believe it's correct in general. For VGA, a scanline is: horizontal front porch horizontal pulse horizontal back porch pixel burst In that order. Vertical sync is a whole number of scanlines, so it begins at a horizontal front porch...
by marcelk
11 Aug 2019, 08:04
Forum: Hardware and software hacking
Topic: Assertion `offset < 0x10000lu' failed
Replies: 11
Views: 164

Re: Assertion `offset < 0x10000lu' failed

Can we do that? Load to and run from lets say 0x800? Yes, the current segments above 0x800 are initialised as 0x8a0..0x8ff, 0x9a0..0x9ff, ... etc. If you setup LCC to use 0x800..0x8ff, 0x900..0x9ff it will use memory from that. If you have large data objects, you still need some more instrumentatio...
by marcelk
10 Aug 2019, 22:16
Forum: Hardware and software hacking
Topic: Assertion `offset < 0x10000lu' failed
Replies: 11
Views: 164

Re: Assertion `offset < 0x10000lu' failed

I just judge by glancing over the source code. When you're writing new code, it becomes evident along the way because you have the intermediate .gt1 files. You can dump these with Utils/gt1dump.py to see where you are. The author sure didn't add a lot of user messages, and when it crashes, it leaves...
by marcelk
10 Aug 2019, 21:42
Forum: Hardware and software hacking
Topic: Assertion `offset < 0x10000lu' failed
Replies: 11
Views: 164

Re: Assertion `offset < 0x10000lu' failed

Could it be that the compiled code doesn't fit in the memory available? There is a proposal to support 64K systems here:

#66 lcc: malloc, 64K support and memory control
by marcelk
10 Aug 2019, 17:36
Forum: Hardware and software hacking
Topic: Assertion `offset < 0x10000lu' failed
Replies: 11
Views: 164

Re: Assertion `offset < 0x10000lu' failed

Is there a way to identify what is causing it in the source I am trying to compile? I might be able to rework it to stop this. I isolated 'my' troublesome expression (it comes from mscp.c ) by trial and error: using #if 0...#endif to disable large chunks of the C program until the error disappears ...
by marcelk
10 Aug 2019, 17:05
Forum: Hardware and software hacking
Topic: Assertion `offset < 0x10000lu' failed
Replies: 11
Views: 164

Re: Assertion `offset < 0x10000lu' failed

I almost forgot that when you get this message, it's actually more likely there's the runaway register allocation at play: Main GitHub issue: #76 lcc: compiler hangs on complex expression I replaced the resulting crashing/hanging with this assert, just to make it easier to detect: https://github.com...
by marcelk
10 Aug 2019, 16:16
Forum: Hardware and software hacking
Topic: Assertion `offset < 0x10000lu' failed
Replies: 11
Views: 164

Re: Assertion `offset < 0x10000lu' failed

It means there are local variables or function arguments that need 64K or more. In the default setup, the C stack has space for 512 bytes (starting at 0x700 and growing down).
by marcelk
01 Aug 2019, 19:28
Forum: Hardware and software hacking
Topic: v6502
Replies: 14
Views: 2080

Re: v6502

Despite summer break, there's still some testing on the v6502 mode that crept through: VTL02 now works and is in GitHub. VTL-2 is a cute tiny interactive programming language that has its origins on the Altair 680. VTL 02 is Mike Barry's port of it to the 6502. His port is still under 1K! Screenshot...