flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > RainbowSnakeOS - boot sector snake video game |
Author |
|
Palma3000 16 Dec 2023, 19:57
RainbowSnakeOS, a 512 byte OS and snake video game written in 16-bit x86 assembly language (FASM). It can be run from boot sector and MS DOS as .com application.
source code
Last edited by Palma3000 on 17 Dec 2023, 11:34; edited 1 time in total |
|||||||||||
16 Dec 2023, 19:57 |
|
revolution 17 Dec 2023, 10:57
gitlab requires JS to see anything.
Please post the code here as an attachment. |
|||
17 Dec 2023, 10:57 |
|
Palma3000 17 Dec 2023, 11:35
Done
|
|||
17 Dec 2023, 11:35 |
|
Furs 17 Dec 2023, 18:06
Gonna put it on my boot manager's options…
|
|||
17 Dec 2023, 18:06 |
|
Palma3000 17 Dec 2023, 19:39
revolution
Thank you. I will read more about FASM macroses. Furs It`s great. |
|||
17 Dec 2023, 19:39 |
|
Roman 18 Dec 2023, 11:21
Code: struc VARS { .len rw 1 .coords rw SNAKE_MAX_LENGTH .food rw 1 .state rb 1 .res rb 1 } virtual at 0 VARS VARS sizeof.VARS = $ end virtual ;in code mov [VARS.state],1 mov [eax+VARS.state],1 IDA pro show: Code: mov large byte ptr ds:2Ch, 1 ;size 7 bytes mov byte ptr [eax+2Ch], 1 ;ok 4 bytes |
|||
18 Dec 2023, 11:21 |
|
macomics 18 Dec 2023, 15:31
Quote: IDA pro show: Code: virtual at eax ; 0 VARS VARS sizeof.VARS = $ end virtual |
|||
18 Dec 2023, 15:31 |
|
Roman 18 Dec 2023, 15:47
Code: virtual at eax ; 0 VARS VARS sizeof.VARS = $ end virtual sizeof.VARS = $ ;fasmw 1.73 error invalid value |
|||
18 Dec 2023, 15:47 |
|
revolution 18 Dec 2023, 16:13
Code: sizeof.VARS = $ - $$ |
|||
18 Dec 2023, 16:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.