Author Topic: O2 Source ?  (Read 32602 times)

0 Members and 1 Guest are viewing this topic.

JRS

  • Guest
Re: O2 Source ?
« Reply #75 on: August 07, 2011, 09:49:29 PM »
Before I get too far down the road with this, would brain surgery be easier to learn?  :'(

I agree that individual functions for each primary ASM instruction (mov, stor, pop, push, ...)  would make more sense.

I still would like to see a complete ASM binary executable that would run in memory in a hex format string. Until I see what the end game looks like, I'm bouncing off of walls.

 
« Last Edit: August 07, 2011, 11:00:31 PM by JRS »

Charles Pegge

  • Guest
Re: O2 Source ?
« Reply #76 on: August 07, 2011, 11:12:56 PM »
The best advice I've heard is 'Follow your excitement'. If you enjoy working with the hardcore of software then it is well worth the effort learning about processors and machine code.( The fundamentals are in many ways simpler than the high level stuff).

Otherwise brain surgery may well be the softer option :)

Charles

JRS

  • Guest
Re: O2 Source ?
« Reply #77 on: August 07, 2011, 11:27:07 PM »
I'm curious, do you know of a high level language that will translate assembly code (text) to it's binary executable format that the language can execute ? (bypassing the assembler part)
« Last Edit: August 08, 2011, 12:10:20 AM by JRS »

Charles Pegge

  • Guest
Re: O2 Source ?
« Reply #78 on: August 08, 2011, 05:48:34 AM »

Not specifically John. I've done this thing before on three projects in my early career. Going from the language/user script directly to binary was the most practical way to go, especially when computing power was very limited and the target hardware was customised.

Charles

efgee

  • Guest
Re: O2 Source ?
« Reply #79 on: August 08, 2011, 08:57:49 AM »
I'm curious, do you know of a high level language that will translate assembly code (text) to it's binary executable format that the language can execute ? (bypassing the assembler part)

Are you looking for an assembler that has high level commands as well ???

If so the only one I know is hla.
It's available for windows, Linux, Mac and FreeBSD.
Here is the link to the hla library which can be used for other languages as well.

I thought Charles made the Oxygen.dll work with SB, are there any side effects that you look for a different route?
 

Charles Pegge

  • Guest
Re: O2 Source ?
« Reply #80 on: August 08, 2011, 10:08:41 AM »

I think John was trying to find a quicker way of moving Oxygen cross-platform using SB as an intermediary, but this is not easy to do, and when we investigate this route further the real complexities begin to emerge.

I have to take Oxygen through the self-compile stage before tackling Linux directly as this will flush out any design defects, and I am always keen to find the fastest possible development route.

Charles


JRS

  • Guest
Re: O2 Source ?
« Reply #81 on: August 08, 2011, 06:42:47 PM »
Charles,

I don't see this as worth the effort based on the difficulty and time to implement.

I'll just wait till you have a Linux version and use OxygenBasic as it was intended. O2 works fine with SB under Windows as efgee  mentioned.

John