flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > [MASM/TASM] Assembling GLaBIOS: error: unexpected characters |
Author |
|
Fool-DupleX 12 May 2024, 10:56
Hello, I'm new here but have been using fasm for a while. I'm currently trying to assemble GLaBIOS with fasm and fasm displays a strange error, always at the same position in source code, whatever modification I do to it :
Code: flat assembler version 1.73.32 (1048576 kilobytes memory) ..\Harddisk\TASM\GLABIOS.ASM [9617]: ROR BL, 1 ; move low bit into bit 5 error: unexpected characters. Since it's always after 9616 lines, which is quite a lot, I was wondering if this could be related to a limitation of fasm ? GLaBIOS can be found here : https://github.com/640-KB/GLaBIOS/tree/main/src GLaBIOS is just one ASM file and assembles fine with MASM and TASM. |
|||
12 May 2024, 10:56 |
|
Fool-DupleX 12 May 2024, 14:44
Oh nuts, I missed that one. Yes, you are totally right. Thank you and sorry for this mistake of mine. I juggle between several assemblers and tend to mix or forget the syntaxes.
|
|||
12 May 2024, 14:44 |
|
640KB 16 May 2024, 14:40
Hey there. I've never actually tried building with TASM before, so it's great to hear it assembles fine. I just tried with TASM 2.5 and TASM 4.1 and for me it doesn't seem to like the HIGH OFFSET linker directive and the forward reference to the DNB MACRO in the VID_ATTR declaration. Admittedly the HIGH OFFSET is a bit of a stretch to use since it relies on the linker to handle it (not all versions do). I'll rewrite it to use a simpler assembler directive, which should be cleaner anyway (done ).
Curious - did you ever have any luck with fasm? 640KB |
|||
16 May 2024, 14:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.