tebe6502 / Mad-Pascal

Mad Pascal Compiler for 6502 (Atari XE/XL, C64, C4Plus, Neo6502)
122 stars 20 forks source link

Feature Request: `absolute` location for function `RESULT` #87

Closed zbyti closed 2 years ago

zbyti commented 2 years ago

I would need something like this (below) construction for the code working in ROM for example on cartridge:

function foo(a, b, c: byte): byte absolute $f0; register;
begin
  RESULT := 0
end; 
zbyti commented 2 years ago

https://github.com/tebe6502/Mad-Pascal/commit/58dcaac36160bc71c4484b65e51de711717b70dc

works for me :]