* * *

Author Topic: 2DS & 3DS nintendo development  (Read 466 times)

year0097ic

  • New member
  • *
  • Posts: 8
2DS & 3DS nintendo development
« on: August 09, 2017, 04:14:54 pm »

year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #1 on: August 09, 2017, 05:12:15 pm »
Citro3D in pascal --> https://github.com/kennyd-lee/ctru-pas/tree/master/extras

Ps. This not for use with Francesco Lombardi dualscreen version Eg. PAlib &or NDSlib !!!
It's for 2DS & 3DS arm 9 & 11, CTRU based models only!

year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #2 on: August 09, 2017, 05:21:28 pm »
//Oilslick-tele a div of radio-gas, rockstaring vjdj Sugar & the 3D beaver's need cocksoup bathed & branded?
//
// Copyright (c) 2015 .. 2017 Kenny D. Lee
// if U Frontier & founded a lifeform does the PhD title cum into play?
// all rights reserved on
//
// Nintendo 3DS BootStrap & ... any & all portions of "Pascal" 
// WE Both YOU & I & maybe others are intent on PROFIT with & from any $ale$ in &or of the "Nintendo 2DS &or 3DS"
// It's rearing, developments & benifits from the "Pascal" computer language usage.
 
unit ParxPas;

{$mode objfpc}{$H+}
 
interface
 
uses
  ctypes;

procedure PMLoop; stdcall; public name 'PMLoop';
// I voted for Weed/Pot & so did everyone else,
// Not!!! (Baseface good for nothing &or Facist Crackhead in distress &or jibteck &or some other petro-reach-a-round) 
//houseboat, sill unpaid (don't know how to treat the elderly, earn a buck! & social'll avail width other portions of lofty housing budget)
 
{$linklib libctru}
{$linklib libm}
{$linklib libParx}

//-Fl/opt/radiofreedom/libctru/lib 
//-Fu/opt/radiofreedom/libctru/pascal
//-Fi/opt/radiofreedom/libctru/pascal/3ds

{$define 3dsintf}
{$i 3dstypes.inc}
{$i services/apt.inc}
{$i services/gsplcd.inc}
{$i services/gsp.inc}
{$i services/fs.inc}
{$i services/hid.inc}
{$i gfx.inc}
{$undef 3dsintf}

{$i "parx/parx_inf.inc"}
 
implementation

{$i "parx/parx.inc"}

{$define 3dsimpl}
{$i services/fs.inc}
{$i services/gsp.inc}
{$i 3dstypes.inc}
{$undef 3dsimpl}
 
function CopyRight: PChar; stdcall;
begin
  CopyRight:= 'Parx3DS - Kenneth Dwayne Lee';
end;

procedure TestPattern(); stdcall;
begin

end;

procedure initTest(screen:Pu8); stdcall;
begin
  CanvasString(screen, 'Pascal puritan Ken`s', 10,20, LIGHT_GREEN);
end;

//So much good karma, ritch & welcome thankless?       
//I have yet to gain the wages of a Teacher, whom perscribed a Democracy will save U!
procedure PMLoop; stdcall;
var
kDown:u32;
begin
   gfxInitDefault();
        gfxSet3D(true); // uncomment if using stereoscopic 3D

        transparent := BLACK;
   InitBufSingle(BLACK);
   
   // Main loop
   repeat
      gspWaitForVBlank();
      hidScanInput();
             
      kDown := hidKeysDown;
      if (kDown and KEY_START)>0 then break;
                if (kDown and KEY_A)>0 then CanvasString(ParxBot, CopyRight(), 10,10, LIGHT_GREEN);
                if (kDown and KEY_B)>0 then initTest(ParxBot);
                if (kDown and KEY_X)>0 then TestPattern();
                if (kDown and KEY_Y)>0 then ClrAll(BLACK);
                if (kDown and KEY_L)>0 then gfxFlushBuffers();
                if (kDown and KEY_R)>0 then gfxSwapBuffers();

      // Flush and swap framebuffers
      gfxFlushBuffers();
      gfxSwapBuffers();
   until not aptMainLoop();
   gfxExit();
end;
end.
//kdl
« Last Edit: August 11, 2017, 02:06:27 pm by year0097ic »

year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #3 on: August 09, 2017, 05:40:32 pm »
//& "C" file need for cia &or 3dsx projects
void * PMLoop ();external;
int main()
{
        PMLoop();
   return 0;
}

//save files in empty 3DS homebrew project ...
//must setup the right ppcarm to compile! command line hints bellow

ppcarm -a -al -an -ar -at -AAS -Cn -g -gv -s -XS -Xt -Sc -Si -Sm -us ParxPas.pas
arm-gnu-eabi-as -march=armv6k -mfloat-abi=hard -o ParxPas.o source/ParxPas.s
arm-gnu-eabi-ar cru ParxPas.a ParxPas.o



year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #4 on: August 09, 2017, 05:56:13 pm »
Parx-GDI, the non amplified Graphic Device Interface  --> https://github.com/Parx-3DS/Parx-GDI
FreePascal tested --> https://github.com/Parx-3DS/Parx-Pas

follow the links above, to meet the file requirements listed below for various project's
{$linklib libParx}
{$include parx_inf.inc}
{$include parx.inc}

year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #5 on: August 11, 2017, 08:43:35 am »
NinjaHax v1 files uploaded, if needed for 2DS & 3DS pascal development

Parx3DS a Pascal usable, GDI has been re visited now at v1.6 -->  https://github.com/Parx-3DS
 
 & gsplcd.inc added, misplaced  &or duplicate --> services/gfx.inc removed in v2.4
https://github.com/kennyd-lee/ctru-pas/tree/master/N3DS-Pascal.v2.4

year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #6 on: August 12, 2017, 03:45:13 pm »
does any of  you recall -->
https://github.com/xerpi/sf2dlib/tree/master/libsf2d/include

rerun an asm gods wrath for U in not so video game fashion -->
https://github.com/kennyd-lee/ctru-pas/blob/master/extras/sf2d.inc

pascal point,   
 I would like to be paid better money & to move far away from
"masturbation meca a.k.a contrived rapist & inflated (de grood lawman's children) Ottawa"

year0097ic

  • New member
  • *
  • Posts: 8
Re: 2DS & 3DS nintendo development
« Reply #7 on: August 12, 2017, 11:23:11 pm »
Live from the "3DS Pascal banic in": (Kirk & alter ego Twin) fresh off the transporter pad
 -->  https://github.com/kennyd-lee/ctru-pas/tree/master/extras

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus