!GxyCVlUainBCcnPEMc:matrix.org

Game Development

576 Members
game development60 Servers

Load older messages


SenderMessageTime
26 Jul 2021
@Charadon:matrix.iotib.netCharadonEh, I was just wondering. And as it turns out, yes, someone ported GCC to amiga a looooong time ago.03:53:52
@Charadon:matrix.iotib.netCharadonGCC 4.2 was the last version to be ported by the looks of it.03:54:22
@starconstructor:matrix.orgSoulFire Media Huh, sounds like traditional Amiga devs wrote their own pseudo-OSes arcade-style to maximize performance. Kinda like Vulkan vs OpenGL. 03:56:01
@starconstructor:matrix.orgSoulFire MediaI wonder what asm language they used03:56:26
@Charadon:matrix.iotib.netCharadonYou mean where when you launch the game, the game had it's own OS?03:56:44
@starconstructor:matrix.orgSoulFire MediaIn a way, yeah03:56:56
@Charadon:matrix.iotib.netCharadonI think a lot of game consoles did that too03:57:12
@starconstructor:matrix.orgSoulFire Media They just wrote assembly for their entire software and the boot sequence functioned essentially like an OS boot sequence, if I understand the issue correctly 03:57:52
@Charadon:matrix.iotib.netCharadonAll the way up to the original xbox now that I think about it. Because all Xbox games had their own modified versions of Windows CE from what I know. But back to amiga, it's pretty crazy what people had to do to get software running back then, I can't imagine writing anything outside of drivers in assembly nowadays.03:59:44
@Charadon:matrix.iotib.netCharadonI remember trying to learn x86 assembly to see what it was like, and I just remember the manual being massive.04:00:44
@starconstructor:matrix.orgSoulFire Media I’ve started tinkering in x86. 04:01:03
@Charadon:matrix.iotib.netCharadonI didn't get past doing basic math in assembly, I think.04:01:17
@starconstructor:matrix.orgSoulFire Mediaima_c468835.png
Download ima_c468835.png
04:01:27
@starconstructor:matrix.orgSoulFire Media A hello world OS program in x86. Not much but it’s a start. 04:02:05
@Charadon:matrix.iotib.netCharadonDamn, that's pretty cool!04:02:25
@starconstructor:matrix.orgSoulFire Media I’d love to just write asm but unfortunately for logistics sake I have to surrender to the devices of C 04:03:07
@Charadon:matrix.iotib.netCharadonOut of curiousity, and i've never experimented with this so I don't know much about it. But I think you can do assembly code in C, do you do that?04:04:10
@Charadon:matrix.iotib.netCharadonIn-line assembly is what I think it's called04:04:43
@unit327:matrix.orgunit327Yes that is a thing but unless you are a wizard the compiler will prob be better at optimising it than you.04:10:54
@unit327:matrix.orgunit327There are now infinity% more cabbages in my game demo.04:11:12
@starconstructor:matrix.orgSoulFire Media
In reply to @Charadon:matrix.iotib.net
In-line assembly is what I think it's called
IIRC yes. You can also write binary in C using 0b.
04:44:36
@starconstructor:matrix.orgSoulFire Media
In reply to @unit327:matrix.org
Yes that is a thing but unless you are a wizard the compiler will prob be better at optimising it than you.
I wish to become a wizard, that’s half the point of writing assembly
04:45:02
@inv41idu53rn4m3:matrix.orginv41idu53rn4m3Biggest thing I've written in assembly was I think quicksort in this funny simulated architecture with like 20 instructions or less07:46:37
@inv41idu53rn4m3:matrix.orginv41idu53rn4m3(as in the architecture had less than 20 instructions, my code was probably longer)07:47:24
@inv41idu53rn4m3:matrix.orginv41idu53rn4m3Implemented my own call stack and some funky manual tail call optimisation by "returning" to the wrong address07:51:40
@inv41idu53rn4m3:matrix.orginv41idu53rn4m3I love how freeform assembly programming can be, how so many of the notions of structural programming can break down at times07:53:06
@planetis:matrix.orgplanetis
In reply to @inv41idu53rn4m3:matrix.org
Biggest thing I've written in assembly was I think quicksort in this funny simulated architecture with like 20 instructions or less
Some sort of game?
09:27:15
@inv41idu53rn4m3:matrix.orginv41idu53rn4m3No, just a sorting algorithm for an assignment. The reason it was of any significance was that I wrote a recursive algorithm in a language without function calls or returns when the assignment called for a basic iterative algorithm like selection sort09:30:09
@planetis:matrix.orgplanetisi remembered human resource machine had a sorting task at the ending which was fun09:48:36
@Charadon:matrix.iotib.netCharadon
In reply to @starconstructor:matrix.org
IIRC yes. You can also write binary in C using 0b.
Now that makes me wonder if there's anyone who's ever made a game using nothing but binary =P
14:51:35

There are no newer messages yet.


Back to Room List